A NOTE has been added to this issue. ====================================================================== https://www.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-17 03:05 UTC ====================================================================== Summary: hash implementations differ when a utility is not found ======================================================================
---------------------------------------------------------------------- (0005279) kre (reporter) - 2021-03-17 03:05 https://www.austingroupbugs.net/view.php?id=1460#c5279 ---------------------------------------------------------------------- All shells I have tested do the "text to stderr" (not stdout) thing on "hash garbage", all add "ls" in addition to that on "hash garbage ls". The difference is the exit code, the various ksh versions and the NetBSD sh exit 0 (always), bash, zsh, bosh, the FreeBSD sh, dash, yash all exit 1 when something failed to be added. 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 ======================================================================