Mailinglist Archive: opensuse (3397 mails)
| < Previous | Next > |
grep question ...
- From: James Hatridge <James.Hatridge@xxxxxx>
- Date: Wed, 27 Apr 2005 17:46:22 +0200
- Message-id: <200504271746.22726.James.Hatridge@xxxxxx>
Hi all...
I have a file that I want to use this command on:
grep "USD" >> US.txt
The file has USD twice in it. How do I tell grep to stop after the first find?
Thanks,
JIM
--
Jim Hatridge
Linux User #88484
------------------------------------------------------
WartHog Bulletin
Info about new German Stamps
http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php
Viel Feind -- Viel Ehr'
Anti-US Propaganda stamp collection
http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php
I have a file that I want to use this command on:
grep "USD" >> US.txt
The file has USD twice in it. How do I tell grep to stop after the first find?
Thanks,
JIM
--
Jim Hatridge
Linux User #88484
------------------------------------------------------
WartHog Bulletin
Info about new German Stamps
http://www.fuzzybunnymilitia.org/~hatridge/bulletin/index.php
Viel Feind -- Viel Ehr'
Anti-US Propaganda stamp collection
http://www.fuzzybunnymilitia.org/~hatridge/collection/index.php
| < Previous | Next > |