A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1460 ====================================================================== Reported By: geoffclare Assigned To: ====================================================================== Project: 1003.1(2016/18)/Issue7+TC2 Issue ID: 1460 Category: Shell and Utilities Type: Clarification Requested Severity: Objection Priority: normal Status: New Name: Geoff Clare Organization: The Open Group User Reference: Section: hash Page Number: 2847 Line Number: 93806 Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2021-03-16 16:53 UTC Last Modified: 2021-03-18 09:38 UTC ====================================================================== Summary: hash implementations differ when a utility is not found ======================================================================
---------------------------------------------------------------------- (0005280) geoffclare (manager) - 2021-03-18 09:38 https://austingroupbugs.net/view.php?id=1460#c5280 ---------------------------------------------------------------------- Which version of ksh93 did you test? With 93u+ I get no message on stderr: $ ksh -c 'echo ${.sh.version}; hash garbage; echo status $?' Version AJM 93u+ 2012-08-01 status 0 Tested on Solaris 11.4 and Debian Buster. This matches how ksh88 (/usr/xpg4/bin/sh) behaves on 11.4 (I checked with "type garbage" that neither system has a "garbage" utility to find.) If a later ksh93 has started writing a message to stderr without changing the exit status, that's a new non-conformance (violating 1.4 Utility Description Defaults under STDERR). Issue History Date Modified Username Field Change ====================================================================== 2021-03-16 16:53 geoffclare New Issue 2021-03-16 16:53 geoffclare Name => Geoff Clare 2021-03-16 16:53 geoffclare Organization => The Open Group 2021-03-16 16:53 geoffclare Section => hash 2021-03-16 16:53 geoffclare Page Number => 2847 2021-03-16 16:53 geoffclare Line Number => 93806 2021-03-16 16:53 geoffclare Interp Status => --- 2021-03-16 18:22 joerg Note Added: 0005277 2021-03-16 19:01 shware_systems Note Added: 0005278 2021-03-17 03:05 kre Note Added: 0005279 2021-03-18 09:38 geoffclare Note Added: 0005280 ======================================================================