In sh, is '[' a portable synonym for 'test'?

Guy Harris guy at sun.uucp
Tue Oct 22 17:40:58 AEST 1985


> Now if there was a patch for the v7 'sh' to use '#' as a real comment....

If you don't have an S5 license, get the 4.xBSD 'sh' (assuming you have a
32V license); it's the V7 shell with '#' as a real comment (but it treats
any file whose first character is '#' as a C shell script).  If you *do*
have an S5 license, use its shell instead - it's much improved (the S5R2
version even has Bourne's bastard Algol 68 expunged, finally, although it
still has the whacky method for storage allocation which causes plenty of
problems on machines which won't let user-mode code restart or continue
instructions).

	Guy Harris



More information about the Comp.unix.wizards mailing list