Re: bash script under cygwin fails to recognize simple commands

2013-03-13 Thread Bob Brusa
Am 13.03.2013 10:38, schrieb marco atzeri: On 3/13/2013 10:21 AM, Bob Brusa wrote: 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" exi

Re: bash script under cygwin fails to recognize simple commands

2013-03-13 Thread marco atzeri
On 3/13/2013 10:21 AM, Bob Brusa wrote: 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 whe

Re: bash script under cygwin fails to recognize simple commands

2013-03-13 Thread Andy Koppe
On 13 March 2013 09:03, 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 > scri

Re: bash script under cygwin fails to recognize simple commands

2013-03-13 Thread 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 o

bash script under cygwin fails to recognize simple commands

2013-03-13 Thread Bob Brusa
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 Informa