Re: Scripting question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Alan,
That worked great.  Now let me ask you this.
I have another file with blank lines - no space or tabs, just
carriage returns. 
Can I use that same line to remove those blank lines?

Leonard


>>> peery@xxxxxx 07/11/03 09:38AM >>>
cat file | grep -v ^\    > file_nospace         (that's a ^ followed by 
a \ followed by a space)
mv file_nospace file

Alan



-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux