On Sat, 29 Jan 2000, Robert Canary wrote:
> treid doing something like:
> cat /proc/cyclades | egrep -w "8" but it returns *every* line with an
> 8. How can I do this without going through a loop?
If you want the line starting with 8, use "^8" (^ anchors it and I
mean the literal ^, not ctrl).
The other option would be cat | head -9 | tail -1
Cat, get the first 9 lines, then get the last one. Ugly, but
workable.
--
Duncan Hill Sapere aude
One net to rule them all, One net to find them,
One net to bring them all, and using Unix bind them.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.