[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: man grep

> 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 :

cat /etc/passwd | cut -d':' -f3 | perl -e 'while (<>) { print if ($_ <= 150); }'

To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.