[SunHELP] script Question
Steve Pribyl
sunhelp at sunhelp.org
Fri Jan 5 16:06:44 CST 2001
pipe it to sort -u
Steve Pribyl
spribyl at enteract.com
http://www.enteract.com/~spribyl
73 VW Camper
74 Yamaha TX650A
75 BMW R90/6 ABC#4116
94 Volvo 855T Sportwagon
96 Ford Mustang GT Convertible
On Fri, 5 Jan 2001, Jan Johansson wrote:
> And maybe you can save som cycles using "cut" instead of awk.
>
> On Fri, Jan 05, 2001 at 02:21:04PM -0500, Bob C. Ruddy wrote:
> >
> > 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
> > ->
> _______________________________________________
> SunHELP maillist - SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
>
More information about the SunHELP
mailing list