[SunHELP] script Question

Bob C. Ruddy sunhelp at sunhelp.org
Fri Jan 5 13:21:04 CST 2001


command | awk '{ print $7 }' | sort | uniq

Bob

On Fri, 5 Jan 2001, Naser Ali wrote:

->I am using awk to get the 6th field which is a 7 digit Hex number in a
->variable from the output of a command.
->
->Now the 7 digit Hex number has multiple occurences.
->How can I tell my script not to print the number more then once..?
->Any Suggestions,
->TIA 
->
->
->
->
->





More information about the SunHELP mailing list