Don Cragun via austin-group-l at The Open Group dixit:

>       • When an unrecoverable error condition is
>         encountered, the utility shall exit with a
>         non-zero exit status.

Is “pwd >/dev/full” an “unrecoverable error condition” as regards
the pwd utility?

I think not. It validated the current working directory and attempted
to hand the information over; what the user does with it is the user’s
fault.

More context: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990265
and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990264 (though
they are pretty much the same information).

Thanks in advance,
//mirabilos
-- 
Gestern Nacht ist mein IRC-Netzwerk explodiert. Ich hatte nicht damit
gerechnet, darum bin ich blutverschmiert… wer konnte ahnen, daß SIE so
reagier’n… gestern Nacht ist mein IRC-Netzwerk explodiert~~~
        (as of 2021-06-15 The MirOS Project temporarily reconvenes on OFTC)

  • utilities and write... Vincent Lefevre via austin-group-l at The Open Group
    • Re: utilities ... Don Cragun via austin-group-l at The Open Group
      • Re: utilit... tg...@mirbsd.org via austin-group-l at The Open Group
        • Re: ut... Don Cragun via austin-group-l at The Open Group
        • Re: ut... Geoff Clare via austin-group-l at The Open Group
        • Re: ut... Robert Elz via austin-group-l at The Open Group
          • Re... Stephane Chazelas via austin-group-l at The Open Group
          • Re... Geoff Clare via austin-group-l at The Open Group
            • ... Stephane Chazelas via austin-group-l at The Open Group
          • Re... Joerg Schilling via austin-group-l at The Open Group
          • Re... Robert Elz via austin-group-l at The Open Group
            • ... Stephane Chazelas via austin-group-l at The Open Group
              • ... tg...@mirbsd.org via austin-group-l at The Open Group

Reply via email to