> > For example, I am trying to get grep to look for a number beween 1-150 in
> > the third field of /etc/passwd with a delimiter of :
Oh, but you want the whole line, don't you?
cat /etc/passwd | perl -e 'while (<>) { ($one, $two, $three, $four) =
split (/:/, $_, 4); print if ($three <= 150); }'
-J
--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.