[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-bash] The meaning of $-?
From: |
Peng Yu |
Subject: |
[Help-bash] The meaning of $-? |
Date: |
Thu, 16 Jan 2014 17:29:41 -0600 |
Hi,
I don't quite understand this special parameters.
`$-`
: 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 option).
On my system, I see something like the following. Could anybody
explain what it is? Thanks.
~$ echo $-
himBH
--
Regards,
Peng
- [Help-bash] The meaning of $-?,
Peng Yu <=