bash script under cygwin fails to recognize simple commands

Bob Brusa bob.brusa@gmail.com
Wed Mar 13 09:27:00 GMT 2013


Am 13.03.2013 10:17, schrieb marco atzeri:
> On 3/13/2013 10:03 AM, Bob Brusa wrote:
>> Hi,
>> it seems I miss something. The primitive script t1.sh
>>
>> #!/bin/bash
>> echo "script running"
>> ls -l
>> echo "script terminating"
>> exit 0
>>
>> produces a rather unexpected result when running it from cygwin terminal:
>>
>> rwb@w500 ~
>> $ ./t1.sh
>> script running
>> ls: unknown option --
>> „ls --help“ gibt weitere Informationen.
>> script terminating
>> : Ein numerischer Parameter ist erforderlich.
>>
>> rwb@w500 ~
>>
>> Why is this? Thanks for advice - Bob
>>
>
>
> Follow
>> Problem reports:       http://cygwin.com/problems.html
>
> Specifically:
> "Run cygcheck -s -v -r > cygcheck.out and include that file as an
> attachment in your report. Please do not compress or otherwise encode
> the output. Just attach it as a straight text file so that it can be
> easily viewed. "
>
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
cygcheck.out attached - this time for everybody - Regards Bob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 76887 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20130313/7c515cef/attachment.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list