§ ============================================================= § Parameter Substitution § ============================================================= == LIST: ParameterSubstitution == hash == 'all lower to upper ${ ^^ }' : '${^^<+pattern+>}', 'all upper to lower ${ ,, }' : '${,,<+pattern+>}', 'assign default value ${ := }' : '${:=<+word+>}', 'display error ${ :? }' : '${:?<+word+>}', 'first lower to upper ${ ^ }' : '${^<+pattern+>}', 'first upper to lower ${ , }' : '${,<+pattern+>}', 'indirect parameter expansion ${! }' : '${!}', 'names matching prefix ${! *}' : '${!*}', 'parameter length ${# }' : '${#}', 'pattern substitution all ${ // / }' : '${//<+pattern+>/<+string+>}', 'pattern substitution begin ${ /# / }' : '${/#<+pattern+>/<+string+>}', 'pattern substitution ${ / / }' : '${/<+pattern+>/<+string+>}', 'pattern substitution end ${ /% / }' : '${/%<+pattern+>/<+string+>}', 'remove all matching prefix pattern ${ ## }' : '${##<+word+>}', 'remove all matching suffix pattern ${ %% }' : '${%%<+word+>}', 'remove matching prefix pattern ${ # }' : '${#<+word+>}', 'remove matching suffix pattern ${ % }' : '${%<+word+>}', 'substitution ${ }' : '${}', 'substring expansion ${ : : }' : '${:<+offset+>:<+length+>}', 'use alternate value ${ :+ }' : '${:+<+word+>}', 'use default value ${ :- }' : '${:-<+word+>}', == ENDLIST == == ParamSub == expandmenu, insert, sc:p, map:bps == |PickList( 'Parameter Substitution', 'ParameterSubstitution' )| |PICK| == ENDTEMPLATE ==