Nevermind, I figured it out.  Used a bracket expression
cat in.txt | grep [01234567898] > out.txt

Thanks for the help and the lesson
Leonard

>>> [EMAIL PROTECTED] 07/11/03 10:02AM >>>
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


>>> [EMAIL PROTECTED] 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
[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/psyche-list

Reply via email to