Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: