Portable shell code between Cygwin and Linux

Thorsten Kampe thorsten@thorstenkampe.de
Mon Aug 1 09:21:00 GMT 2011


* Sebastien Vauban (Mon, 01 Aug 2011 08:46:52 +0200)
> My goal is to have just 1 alias that would work both under Win32
> (Cygwin) and Ubuntu

Why don't have simply put your alias definitions in if [[ $OSTYPE = 
cygwin ]]; then else"?

Thorsten


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



More information about the Cygwin mailing list