The following script fails: #!/bin/ash FILE= if [[ -e ${FILE} ]] then echo "found file: \`${FILE}'" else echo "did not found file: \`${FILE}'" fi The test is always true!! So it says: found file `'
Not a bug: bash and coreutils do the same. You should use if [[ -e "${FILE}" ]] instead.