home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: ZV0012%DMSWWU1C.BITNET@VM1.gatech.edu (Kai Henningsen)
-
- In article <1991Jul19.033239.8917@uunet.uu.net>, karish@mindcraft.com (Chuck
- Karish) says:
- >A puzzle for the reader (maybe this is obvious to everyone but
- >me): How can a shell script determine whether it's running on
- >a POSIX.2 system? If it calls getconf and getconf does not
- >exist, the shell may exit. It could call getconf in a
- >subshell, but that's ugly and expensive.
-
- I don't know what POSIX says, but I'd expect an analog to POSIX.1 -
- an environment variable telling which version of POSIX we are.
- POSIX.1 does the same with #define.
-
- Volume-Number: Volume 24, Number 56
-
-