Closed Nikita-Babich closed 7 months ago
$ dos2unix runtests.sh dos2unix: converting file runtests.sh to Unix format...
$ ./runtests.sh ./getsource.sh: line 3: $'\r': command not found space will be used. ./getsource.sh: line 5: $'\r': command not foundverse amd64 dos2unix amd64 7.4.2-2 [384 kB] ./getsource.sh: line 26: syntax error: unexpected end of file
find . -type f -exec dos2unix {} \;
Seems to do the thing.
Ubuntu 22.04.2 LTS (GNU/Linux 4.4.0-19041-Microsoft x86_64)
Running the script ./runtests.sh
leads to the followind errors ./runtests.sh: line 4: $'\r': command not found ./runtests.sh: line 6: $'\r': command not found ./runtests.sh: line 52: syntax error near unexpected token
$'do\r'' '/runtests.sh: line 52:
for TEST in $TESTS; doTried to delete \r with sed -i 's/\r//' runtests.sh but it caused: ./getsource.sh: line 3: $'\r': command not found ./getsource.sh: line 5: $'\r': command not found ./getsource.sh: line 26: syntax error: unexpected end of file
Do i delete those symbols everywhere? I do not know ho to make them part of whitespace set.