txt with the following contents:
.workingDocuments
images
.database
I run a bash script (codespaces git bash shell):
while read -r line; do
mkdir "$line"
done < folders.txt
The script creates the folders but adds a special character at the end of each folder?
.database
.workingDocuments
images
this will be part of a student activity so I specifically want to use a while loop with mkdir but I don't want the special character.
I have same issue with a similar script and file to create files using touch