On Sat, 29 Jan 2000, Robert Canary wrote:

> Hi,
> 
> This is really a silly question, but ...........
> 
> I need to extract a single line from a /proc file.  The lines are sorted
> by the first column, which are always 0,1,2,3,4,...,60,61,62,63,64.   I
> 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?

cat ... | egrep "^8"

rday


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to