[K12OSN] How about a scripting question :-)

cliebow at midmaine.com cliebow at midmaine.com
Thu Nov 9 20:53:50 UTC 2006


Jim you could use your grep command then use cut with a delimiter of: like
-d":"
and pick the fields you need with -f
cat /etc/groups|grep mail| cut -d ":" -f2

some permutation of that




More information about the K12OSN mailing list