fork(3) download
  1. x='test $2 3.jpeg'
  2. x=$(printf '%q' "$x")
  3. echo $x
Success #stdin #stdout 0s 5088KB
stdin
Standard input is empty
stdout
test\ \$2\ 3.jpeg