$-
–
Current Option Flags
$- expands to the current option flags.
Links
Examples
- Print option flags
1echo "$-"
BashSupport Pro is a Bash and POSIX IDE with support for $- – try it now!
$-
–
Current Option Flags$- expands to the current option flags.
| |