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