I densenvolvi a shell script that receives the location of a file and makes various manipulations on it, eg: ./processa.sh path / file.txt
But when I send a file name as a parameter that contains spaces, it gives error, because it places '\' in each space, and is interpreted by bash as a directory. Ex: path / filename.txt Output: path / name \ of \ file.txt
How to avoid this?