Open math92n4 opened 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
Sex And The City.txt
Sex.txt
And.txt
The.txt
City.txt
Elephant babies
Fix that in the script.
Hint: you need to use quotes " here and there to make it work
"
cat Sex.txt And.txt The.txt City.txt "Sex and the City.txt" and so on rm -r (old file)
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 gotSex.txt
,And.txt
,The.txt
andCity.txt
. Same withElephant babies
Fix that in the script.
Hint: you need to use quotes
"
here and there to make it work