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

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
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 © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.