> Why not just the following? > > grep -v '^#.*' < input > output > For the same reason I did the last one in perl and not using find. I do not like doing anything in bash and I don't remember all of those switch that goes with stuff. I would write a 1000 line C program before I write anything in bash or just sh. Thomas