Thread View: comp.unix.shell
1 messages
1 total messages
Started by Jan Dj{rv
Sat, 08 Sep 1990 16:01
What is "standard" test?
Author: Jan Dj{rv
Date: Sat, 08 Sep 1990 16:01
Date: Sat, 08 Sep 1990 16:01
16 lines
1074 bytes
1074 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads