I want to write a shell script myscript. The user will type a folder to get it to work:
~$: myscript /myfolder1/random folder/fb/picture set/...
As you can see depends on the folder there are unknown number of spaces in the input.
I want myscript to be able to interpret the whole input as one input. What can i do to achieve this?
I can use read command to capture the input, but it only expects the input in the next line after the user types
myscript+enter.
Which is not what i want.
"'or whitespace escaping../myscript "/myfolder1/random folder/fb/picture set/"