2011-05-06 Unix -- a bunch of flavors and a lot of history. Everyone knows [ -e foo ] but who knows that it may not be available to you? On SunOS 5.9 the man page test(1) reads: -e file True if file exists. (Not available in sh.) This result in: /bin/sh -c 'test -e foo' /bin/sh: test: argument expected Thus, beware! http://marmaro.de/lue/ markus schnalke