Ken, On Tuesday 22 February 2005 05:11, Ken Schneider wrote:
On Tue, 2005-02-22 at 07:39, Gabor Istvan wrote:
Dear list members:
...
In my case both versions contain strange characters that are not visible by normal view only with 'cat -A'. Here it is:
$ cat -nA fetchmsttfonts.sh 1 -----BEGIN PGP SIGNED MESSAGE-----^M$ 2 Hash: SHA1^M$ 3 ^M$ 4 #!/bin/sh^M$ 5 ...
What are these ^M characters and why are they there?
The ^M is a carriage return.
In some contexts, they can be innocuous. However, they're fatal on the shebang line ("#!/bin/sh"), since there is (almost certainly) no shell named "/bin/sh\r". Use one of the many techniques for converting this file from DOS to Unix text format and it should function much better.
-- Ken Schneider
Randall Schulz