<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2>-----kwlug-disc-bounces@kwlug.org wrote: -----<br><div><font color="#990099"><br></font>>Dear All,<br>><br>>I'm writing a bash script.  It unzips a collection of zip files, then<br>>processes each of the files within with another tool.  That part<br>>works.<br>>it's time-consuming, but it works.<br><br><br>It really depends on what you want to do. Grep can be used to extract unwanted lines:<br><br>egrep -v '(^#|^;|^\b*$)' | sed 's/;.*$//;s/#.*$//' | ( while read line<br>do<br>      echo $line<br>done )<br><br>Be aware that the sed command strips out all after the *first* semi-colon or hash. <br></div></FONT>