You can do for example this (read.sh): #!/bin/ksh while read line do [[ $line = \#* ]] && continue echo $line done < read.sh ...
www.google.com.tw