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] |
Thinking about this: > It would be nice if exim *itself* reported that running exim-config > might be a good idea. (Is exim-config used on other platforms besides > cygwin?) .... made me wonder what other people on this list do, to write portable shell scripts? In a shell script, is there an accepted way to detect you're running Windows, so you can make necessary adjustments? One day, I'd like all the hundreds of scripts that we've written locally and which are still in use, to work as-is under Cygwin. Attached is the klunky script I use to help with that. (These days, it seems I don't need DEVNULL and DEVTTY, so I confess I've stopped using them ...) luke
Attachment:
portshell
Description: portshell
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.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] |