On 6/15/20 4:47 PM, bel...@web.de wrote: > Bash Version: 5.0 > Patch Level: 3 > Release Status: release > > Description:
> `hash -l' is supposed to generate output that is reusable as input > (`help hash' says so, at least). In case the hash table is empty, a > string not re-usable as input is output to stdout. The exit code > indicates success in this case. The string being output is locale- > dependant (and therefore is hard to filter out in a work-around). It's an interesting question. An empty hash table is not an error condition, and doesn't result in a non-zero exit status, so output to stderr is not appropriate. You might want to temporarily enable posix mode, which suppresses the message. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/