grazinggoat
Programmer
Hello
I'm attempting to do a horizontal sort of /etc/group file to remove duplicate ids on same line
example:
billing::22:davew,billm,carolb,annas,davew,jackt
How can I sort uniq this with awk?
I looked at sort, uniq, cut, and tr commands but couldn't get the uid fields sorted unique.
Thanks for any insight here
I'm attempting to do a horizontal sort of /etc/group file to remove duplicate ids on same line
example:
billing::22:davew,billm,carolb,annas,davew,jackt
How can I sort uniq this with awk?
I looked at sort, uniq, cut, and tr commands but couldn't get the uid fields sorted unique.
Thanks for any insight here