I\'ve got a list of directories that contain spaces.
I need to surround them with \' \' to ensure that my batch scripts will work.
How can one surround each new
very simple logic, you just need to echo the quotes in front and behind.
while read -r line do echo "'$line'" # do something done < "file"