This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Am 13.03.2013 10:17, schrieb marco atzeri:On 3/13/2013 10:03 AM, Bob Brusa wrote:Ok - cygcheck.out attached. Looking forward hearing from you again :-) BobHi, 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
FollowProblem 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. "
No problem on installation, it is just your script with CRLF line termination (MS style) instead of LF (unix style) Convert it with "d2u t1.sh"
Regards Marco
-- 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |