Hacker News new | ask | show | jobs
by grymoire1 3462 days ago
It's a bash programmer issue, not a bash issue.

If you want spaces to be unparsed in parameters, you "quote" the parameter.

  A="spaces in the argument"
  touch "$A"
  ls -l

   total 0
   -rw-rw-r-- 1 me me 0 Dec 27 15:40 a file with spaces