looking for script - strip out all # comments
Hey, you scripters....
Anybody got a simple script I can use, sorta like:
$ strip_comments /etc/rc.d/rc.modules
and have the output just show all lines that don't have # in the first column?
This is no emergency or anything.
Thanks if you do and can post it...
I just haven't gotten around to writing any scripts yet.