[SunHELP] script Question

Naser Ali sunhelp at sunhelp.org
Fri Jan 5 13:00:13 CST 2001


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C07749.BBBF7AA0
Content-Type: text/plain;
	charset="iso-8859-1"

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 





------_=_NextPart_001_01C07749.BBBF7AA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>script Question</TITLE>
</HEAD>
<BODY>

<P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Comic Sans MS">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.</FONT>
</P>

<P><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Comic Sans MS">Now the 7 =
digit Hex number has multiple occurences.</FONT>
<BR><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Comic Sans MS">How can I =
tell my script not to print the number more then once..?</FONT>
<BR><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Comic Sans MS">Any =
Suggestions,</FONT>
<BR><FONT COLOR=3D"#000000" SIZE=3D2 FACE=3D"Comic Sans MS">TIA </FONT>
</P>
<BR>
<BR>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C07749.BBBF7AA0--



More information about the SunHELP mailing list