Either way, it'll stop processing as soon as a match has been found. Also awk could be used. It's *nix, so there are lots of ways of doing it. If grep does what he wants, I say use it.grep BLAH INFILE.txt | head -1
In reply to Re^2: Stopping system()
by KurtSchwind
in thread Stopping system()
by art0rz_
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |