Re: Scripting question

2003-07-12 Thread Alan Peery
Leonard Miller wrote: 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? Use cat file | grep -v ^\$ This will keep only those lines NOT matching "^\$", a line where there is nothing between the logical begin

Re: Scripting question

2003-07-12 Thread Steven W. Orr
On Saturday, Jul 12th 2003 at 13:34 +0100, quoth Alan Peery: =>Leonard Miller wrote: => =>>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? =>> =>> =>Use => =>cat file | grep -v ^\$ => =>This will keep o

Re: Scripting question

2003-07-12 Thread Jesse Keating
On Saturday 12 July 2003 05:34, Alan Peery wrote: > cat file | grep -v ^\$ > > This will keep only those lines NOT matching "^\$", a line where there > is nothing between the logical beginning and end of the line. If you > want to find lines that only have the letter q on them, > > cat fred | gre

Comment on Ximian Desktop and red-carpet

2003-07-12 Thread Stephen Liu
Hi all folks, Has any folk tried Xd2 (Ximian Desktop 2) and red-carpet-2.0.1-0.ximian.5.1.1" Kindly share your experience comparing it with KDE and GNOME. Can I run it on RH 8.0 without affecting KDE and GNOME? Thanks in advance. B.Regards Stephen Liu -- Psyche-list mailing list [EMAIL PROT

Re: Scripting question

2003-07-12 Thread Alan Peery
Steven W. Orr wrote: I'm just curious. This is some sort of psychiatric deficiency or something. Why do *so* many people insist on cat fn | whatever when you can just say whatever < fn Probably from a strong bias to read from left to right, and the syntactic structure flows from this desi