7 lines
172 B
Plaintext
Executable File
7 lines
172 B
Plaintext
Executable File
FOO='a*b\*c'
|
|
BAR=${FOO//\\*/-backslashstar-}
|
|
echo In assignment: "$BAR"
|
|
echo Unquoted: ${FOO//\\*/-backslashstar-}
|
|
echo Quoted: "${FOO//\\*/-backslashstar-}"
|
|
echo Done: $?
|