A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1119 ====================================================================== Reported By: mhjacobson Assigned To: ajosey ====================================================================== Project: 1003.1(2016)/Issue7+TC2 Issue ID: 1119 Category: Shell and Utilities Type: Enhancement Request Severity: Objection Priority: normal Status: Under Review Name: Matt Jacobson Organization: User Reference: Section: file Page Number: 0 Line Number: 0 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2017-02-15 01:48 UTC Last Modified: 2018-07-26 16:26 UTC ====================================================================== Summary: When the file named by the <file> operand does not exist, `file` should not exit with zero status ======================================================================
---------------------------------------------------------------------- (0004062) Don Cragun (manager) - 2018-07-26 16:26 http://austingroupbugs.net/view.php?id=1119#c4062 ---------------------------------------------------------------------- This was discussed during the July 26, 2018 conference call. This change request is rejected... The <i>file</i> utility is unlike other file-handling utilities in that when a file does not exist, its non-existence is a piece of information about the file which <i>file</i> writes to standard output. The exit status of zero indicates that this information was successfully written to standard output. Other utilities report the non-existence to standard error and the exit status indicates that an error message was written to standard error. Issue History Date Modified Username Field Change ====================================================================== 2017-02-15 01:48 mhjacobson New Issue 2017-02-15 01:48 mhjacobson Status New => Under Review 2017-02-15 01:48 mhjacobson Assigned To => ajosey 2017-02-15 01:48 mhjacobson Name => Matt Jacobson 2017-02-15 01:48 mhjacobson Section => file 2017-02-15 01:48 mhjacobson Page Number => 0 2017-02-15 01:48 mhjacobson Line Number => 0 2017-02-21 01:55 Vincent LefevreNote Added: 0003563 2017-02-21 12:06 joerg Note Added: 0003564 2017-02-21 14:07 shware_systems Note Added: 0003565 2017-02-21 14:19 shware_systems Note Edited: 0003565 2017-02-22 01:16 Vincent LefevreNote Added: 0003566 2017-02-23 18:51 shware_systems Note Added: 0003569 2017-02-23 18:55 shware_systems Note Edited: 0003569 2017-02-23 19:05 shware_systems Note Edited: 0003569 2017-02-27 09:50 geoffclare Project 1003.1(2008)/Issue 7 => 1003.1(2016)/Issue7+TC2 2018-07-26 16:26 Don Cragun Note Added: 0004062 ======================================================================