kea-classrooms / bbs-math92n4

bbs-math92n4 created by GitHub Classroom
0 stars 0 forks source link

Support whitespaces in file names #4

Open math92n4 opened 1 year ago

math92n4 commented 1 year ago

Apparently the script itself i broken. It doesn't handle whitespaces that well.

We had expected a file called Sex And The City.txt but instead we got Sex.txt, And.txt, The.txt and City.txt. Same with Elephant babies

Fix that in the script.

Hint: you need to use quotes " here and there to make it work

math92n4 commented 1 year ago

cat Sex.txt And.txt The.txt City.txt "Sex and the City.txt" and so on rm -r (old file)