$-
 – 
Current Option Flags
$- expands to the current option flags.
Links
Examples
- Print option flags
 1echo "$-"
BashSupport Pro 是一款 Bash 和 POSIX 集成开发环境,支持 $- - 立即试用!
$-
 – 
Current Option Flags$- expands to the current option flags.
 |  |