From mboxrd@z Thu Jan 1 00:00:00 1970 From: dave@horsfall.org (Dave Horsfall) Date: Sun, 22 Oct 2017 15:18:33 +1100 (EST) Subject: [TUHS] /bin/true (was basic tools / Universal Unix) In-Reply-To: <20171019232728.GB8086@wopr> References: <009a01d348e9$e3dce200$ab96a600$@ronnatalie.com> <20171019212353.bOjzh%steffen@sdaoden.eu> <741bfdf1-c816-085e-b9ac-c301c8c2d974@case.edu> <87a82674-0b26-f275-e9a8-363b63659a38@tnetconsulting.net> <20171019232728.GB8086@wopr> Message-ID: On Thu, 19 Oct 2017, Kurt H Maier wrote: > It's still useful. Minimal example: > > [khm at pc ~]$ (exec cd /); echo $? > 0 > [khm at pc ~]$ (exec cd /nosuchpath); echo $? > /usr/bin/cd: line 2: cd: /nosuchpath: No such file or directory > 1 And others pointed out the same thing; OK, it's obscure (because "test -x {}" doesn't quite fit the bill) but I'm convinced. -- Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer."