Re: [AD] Deprecated functions and fix.sh

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> should work fine. -e means if file exists, and -f means if file exists
> and is a regular file, and [] means run test. in bash test is integrated
> into the shell, but on bourne and compatibles [] calls the test program,
> and IIRC bash does the same when running in bourne compatibility mode,
> which is something it does when the first line of the script is
> #!/bin/sh.

Thanks for the clarification.

> does the solaris man page for test list the -e option?

No for sh and csh, but yes for ksh (the man page for test is divided in three 
sections, at least on Solaris 8). 

> also does the solaris shell have test integrated?

Yes for ksh, but no for sh and csh.

-- 
Eric Botcazou




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/