Look at these two files:
They look to me entirely identical, but File 1 has 41 bytes and File 2 has 44 bytes.
Now, I would not care about 3 extra chars, however, I think these chars are also responsible to a strange error: when I clone and run these files, File 1 runs OK while File 2 returns an error on line 3: "./BasicCheck.sh: line 3: cd: case0 : No such file or directory".
So: what are these extra chars? Why do they cause errors? And what should I do to fix these errors?
My guess is that they are newlines - perhaps File 1 has Linux-based newlines and File 2 has Windows-based newlines. Is it correct? And why should it cause such errors?