Re: [suse-security] Grep uncomment lines from .conf
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)
7406
Age (days ago)
7406
Last active (days ago)
0 comments
1 participants
participants (1)
-
m3047@inwa.net