24 Jun
2003
24 Jun
'03
17:40
Hallo, On Tue, 24 Jun 2003, Al Bogner schrieb:
Welche Möglichkeiten gibt es Kommentare (#) von Dateien nicht anzuzeigen? Kann man das mit grep filtern? Gibt es eventuell auch mit vi eine Möglichkeit beim Editieren?
==== ~/bin/delcomments ==== #!/usr/bin/sed -f s/^[ \t]*#.*// /^[ \t]*$/d ==== -dnh -- The speed at which a mistyped command executes is directly proportional to the amount of damage done. -- Joe Zeff