"Robert L. Harris" wrote:
> I'm looking at a ksh script. What does $- mean? I didn't see it in my
> man page on ksh.
>
> Robert
>
> :wq!
> ---------------------------------------------------------------------------
> Robert L. Harris | Microso~1 :
> Senior System Engineer | For when quality, reliability
> at RnD Consulting | and security just aren't
> \_ that important!
> DISCLAIMER:
> These are MY OPINIONS ALONE. I speak for no-one else.
> FYI:
> perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
>
> --
> To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.
Not that I know when one would use this, but $- is the value of the options that
ksh is invoked with.
e.g on my machine echo $- produces ismhC by default.
--
-----------------------------------------------
Justin W. Russell
Engineer Senior, Aerodynamics/CFD
Lockheed Martin Aeronautics Company
86 South Cobb Drive
Marietta, GA 30063-0685
Tel: (770) 494-6303
Fax: (770) 494-3055
-----------------------------------------------
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.