[comp.unix.shell] What is "standard" test?

jand@kuling.UUCP (Jan Dj{rv) (09/08/90)

Hi all,
A while ago I made some shell scripts that where supposed to run on several
machines. To my surprise not all test had the -x file test (test if executable)

I wonder which file tests are the bare minimum that all test:s have ?
And if -x isn't among them, how do I found out if a file is executable from
a shell script?

On HP test knows about -r (readable), -w (writable), -x (executable),
-f (regular file), -d (directory), -c (character special), -b (block special)
-p (fifo), -u (set uid), -g (set gid), -k (sticky bit), -s (size > 0)
-H (CDF, HP specific), -h (symbolic link).

Thanks,

	Jan D.