Re: Scripting question

Michael Martinez <[email protected]>
Newsgroups gmane.linux.redhat.release.psyche
Message-ID <[email protected]>
On Fri, 2003-07-11 at 10:20, Ted Zlatanov wrote:
> On Fri, 11 Jul 2003, [email protected] wrote:
> > 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?

cat file | sed -e "/^ /d"

-- 
Michael Martinez
Linux System Administrator
ISTM/CSREES/USDA


-- 
Psyche-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/psyche-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.