Plan 9 from Bell Labs’s /n/sources/patch/applied/test-invalid-args-and-man-page/readme

Copyright © 2009 Alcatel-Lucent.
Distributed under the Lucent Public License version 1.02.
Download the Plan 9 distribution.


Make test(1) complain when we pass unexpected extra args
instead of silently ignoring them or returning TRUE.
This is a bit more consistent with PoSix systems and
avoids confusion (fgb thought that test -dw /tmp would
check if /tmp was a writable dir).

Also complain when the argument to -t is not a valid
filedes.

Fix small typo in the man page and document that there
is on way to test if a dir is writeable.

uriel

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2009 Alcatel-Lucent. All Rights Reserved.
Comments to webmaster@plan9.bell-labs.com.