This is the mail archive of the cygwin@cygwin.com 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] |
> A couple of points to note: > 1) In Cygwin, /bin/sh != bash. /bin/sh == ash, and it doesn't support > bash'isms like /dev/stderr. Use >&2 and >&1 in /bin/sh. ----- "Bash"ism?
>From Oreillynet:
Some UNIX systems, and utilities such as gawk, support special filenames like /dev/stdin, /dev/stdout, and /dev/stderr. You can use these just as you'd use other files.
I just happened to look and it is on my SuSE system as well -- I didn't know bash had special handling for it till just now...learn something new every day!
Oh, you'll like this one: "Learn Linux in 15 minutes a week!": http://www.2000trainers.com/article.aspx?articleID=144&page=2
Says /dev/std{in|err|out} are standard on linux systems. Maybe Cygwin should be renamed "CyNUX": "Cygwin is Not Unix or Linux"? :-)
I guess the author of 'makewhatis' didn't know this either. Perhaps it's on enough systems.
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |