![](https://seccdn.libravatar.org/avatar/4b6e0b79d8a9358a3b524347b87a96f9.jpg?s=120&d=mm&r=g)
12 Feb
2004
12 Feb
'04
03:32
Is this security related? I apologize in advance. At 10:04 AM 2/12/04, Arie Reynaldi Zanahar wrote:
I want to grep lines that not commented from a file, Someone said that I can
m3047@flame:~/perl> cat source.txt # This is a comment this is indented # this is an indented comment q.e.d. m3047@flame:~/perl> perl -wn -e 'm/^\s*[^#\s]/ && print;' source.txt this is indented q.e.d. m3047@flame:~/perl> (with a nod to Tim Maher) -- Fred Morris fredm3047@inwa.net (I-ACK)