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: Executable named "[.exe" in c:\cygwin\bin?


Am 12.12.2010 13:31, schrieb Csaba Raduly:

> I guess something like this:
> 
> [ -f file ] && echo is

True, but this is bad style.  Reason is you cannot run scripts containing this
under a "set -e" regime.  However, most scripts should be doing that (and set -u
is also often advised), so that errors don't go unnoticed.

-- 
Matthias Andree

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