hi Ralph,

>    $     awk -F: '$1 == "root" || $3 ~ /^0*$/ {print NR, $0}' /etc/group
>    1 root:x:0:

just wondering why the last field's empty (and doesn't contain user 'root')?

man (5) group specifies:  group_name:passwd:GID:user_list

-- 
regards, jr.

time flies like an arrow, fruit flies like a banana.

--
Next meeting:  Blandford Forum, Tuesday 2010-09-07 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://bit.ly/4sACa

Reply via email to