shell readlines scrub