The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
eleminate repated process names and get second column value
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
eleminate repated process names and get second column value
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
01-01-2009
cfajohnson
Shell programmer, author
Join Date: Mar 2007
Location: Toronto, Canada
Posts: 2,380
Code:
awk '!x[$1]++' filename
cfajohnson
View Public Profile
Visit cfajohnson's homepage!
Find all posts by cfajohnson
Find cfajohnson's past nominations received
Find cfajohnson's present nominations given