Re: Scripting question
Alan Peery <[email protected]>
| Newsgroups | gmane.linux.redhat.release.psyche |
|---|---|
| Message-ID | <[email protected]> |
cat file | grep -v ^\ > file_nospace (that's a ^ followed by a \ followed by a space) mv file_nospace file Alan Leonard Miller wrote: >Hi, >I have a file with over 38000 lines in. Some of the lines have a >space at the beginning and I can delete those lines. Is there a >way using a script or vi that I can delete the lines that begin >with a space? > >Thanks >L > > > > -- Psyche-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/psyche-list