Re: Scripting question
Jesse Keating <[email protected]>
| Newsgroups | gmane.linux.redhat.release.psyche |
|---|---|
| Organization | j2Solutions |
| Message-ID | <[email protected]> |
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 | grep ^q\$ Useless cat of the day award! grep ^q\$ fred grep -v ^\$ file No need to use cat. -- Jesse Keating RHCE MCSE http://geek.j2solutions.net Mondo DevTeam (www.mondorescue.org) Was I helpful? Let others know: http://svcs.affero.net/rm.php?r=jkeating -- Psyche-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/psyche-list