reopen 990264 reopen 990265 thanks because the result of "pwd > /dev/full" is non POSIX conforming.
See the message from Don Cragun in the Austin Group list, which says: Section 1.4 of the Commands and Utilities Volume of the standard (Utility Description Defaults) already does this in the CONSEQUENCES OF ERRORS section on P2303-2304, L74122-74151 in P1003.1-202x Draft 2 and on P2341-2342, L74540-74569 in P1003.1-2017. Note especially: The following shall apply to each utility, unless otherwise stated: ... ... ... • When an unrecoverable error condition is encountered, the utility shall exit with a non-zero exit status. • A diagnostic message shall be written to standard error whenever an error condition occurs. On 2021-06-27 21:33:48 +0530, Anuradha Weeraman wrote: > There was an update on this from the Austin Group that will be in the > next version of the POSIX standard relating to the streams that need > to be opened at startup. [...] OK, but as said, that was just an example. There are other cases of write errors, which correspond to valid conditions, such as when the filesystem is full (see above). -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)