bash script under cygwin fails to recognize simple commands

Bob Brusa
Wed Mar 13 09:03:00 GMT 2013

it seems I miss something. The primitive script

echo "script running"
ls -l
echo "script terminating"
exit 0

produces a rather unexpected result when running it from cygwin terminal:

rwb@w500 ~
$ ./
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

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list