`man bash` says this about $-
- Expands to the current option flags as specified upon
invocation, by the
set builtin command, or those set by the shell itself (such
as the -i
flag).
if you create a script file containing the single line
echo "$-"
and then execute it with arbitrary parameters, what does it return??
(I don't have ksh on my system)
----- Original Message -----
> I'm looking at a ksh script. What does $- mean? I didn't see it in my
> man page on ksh.
--
To unsubscribe: mail ">majordomo@ale.org with "unsubscribe ale" in message body.