Index
Special Characters A B C D E F G H I K L M N O P Q R S T U V W XYZ
Special Characters
!(pattern-list), 92
!= operator, 20
# (hash), 5
#! (shebang), 5
$ (dollar sign), 33
$- parameter, 8
$! parameter, 8
$$ parameter, 8
$* parameter, 8
$_ parameter, 8
$_KEY variable, 194
${!var} expansion, 52
${#var} expansion, 49
${var#PATTERN} expansion, 51
${var##PATTERN} expansion, 51
${var%PATTERN} expansion, 50, 70
${var%%PATTERN} expansion, 50
${var,PATTERN} expansion, 53
${var//PATTERN/STRING} expansion, 51
${var?message} expansion, 49
${var^PATTERN} expansion, 52
${var+alternate} expansion, 47–48
${var=default} expansion, 48
${var:?} expansion, 164
${var:?message} expansion, 49
${var:+alternate} ...
Get Pro Bash Programming: Scripting the GNU/Linux Shell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.