On Wed, 2002-12-25 at 00:24, Roger wrote: > Hi, there > > I have a big file that contains much of lines being with '#' (comment mark), > Now I want to delete all these commnet lines and only level meaning lines. > How to do? > > Thanks in advance >
sed '/^#/d' filename > cleanedfilename should copy the file without the lines beginning with # to cleanedfilename HTH Bret > > > > > -- > redhat-list mailing list > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list