[uClinux-dev] msh: detect if a file exists

Jamie Lokier jamie at shareable.org
Mon Jun 9 12:39:14 EDT 2008


Michael Schnell wrote:
> if [ -a xy ]; then .....
> 
> does not seem to work.
> 
> What am I doing wrong ?

You meant -e, and that does work with msh.

-- Jamie


More information about the uClinux-dev mailing list