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]

Re: Portable shell code between Cygwin and Linux


Hi Eliot,

Eliot Moss wrote:
> Another way to be portable is to have per-system files to set up some
> environment variables and then uniform portable files that use them. You can
> do that same thing *within* a file by writing conditionals or a case on the
> result of uname. It's probably best to segregate per-system stuff in a
> well-contained file or section of a file in this way ...

Thanks for your answer. But the whole idea is to write something in a way that
it must not be rewritten for the other system.

Maybe it's just a dream.

Best regards,
  Seb

-- 
Sebastien Vauban


--
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]