On 01 February 2007 21:13, C Wells wrote:
> I can't figure out what I have done or not done to
> make .sh scripts NOT run in my seemingly ok cygwin
> install.
>
> My script.sh
> #!/bin/bash
> PATH=/bin:/usr/bin
> echo OK
>
> # bash -x script.sh
> + PATH=$'/bin:/usr/bin\r'
> + $'\r'
>> command no
I can't figure out what I have done or not done to
make .sh scripts NOT run in my seemingly ok cygwin
install.
My script.sh
#!/bin/bash
PATH=/bin:/usr/bin
echo OK
# bash -x script.sh
+ PATH=$'/bin:/usr/bin\r'
+ $'\r'
: command not found
+ $'\r'
: command not found
Is it a Unix - DOS thing ?
Tha
2 matches
Mail list logo