I need to create new file which contains spaces in it. And it is passed through the argument. This code below creates 2 sepate files. How to create 1 file which will contains space?
touch ""$meno""
I need to create new file which contains spaces in it. And it is passed through the argument. This code below creates 2 sepate files. How to create 1 file which will contains space?
touch ""$meno""
Try this:
$ spam="foo bar"
$ touch "$spam"
$ ls -l
-rw-rw-r-- 1 user user 0 Mar 29 05:14 foo bar
touch "$meno"
will do just fine. – Chris Davies Mar 28 '15 at 23:13