Re: Bug, feature or just the correct behaviour (stat'ing -bash down the PATH)

2015-06-03 Thread Dennis Williamson
On Tue, Jun 2, 2015 at 5:47 PM, Dave Rutherford wrote: > > It is ironic yet somehow appropriate that a fusion energy center > should be having such a 1997 sort of problem today. But > truly, my sympathies. :-) > > Dave > How about a nuclear plant having a '70s kind of problem? https://ca.linke

Re: Bug, feature or just the correct behaviour (stat'ing -bash down the PATH)

2015-06-03 Thread Dave Rutherford
On Tue, Jun 2, 2015 at 9:08 AM, Wheatley, Martin R < martin.wheat...@ccfe.ac.uk> wrote: > a truss of "bash -ls" shows it stat'ing '-bash' in each of the directories > in PATH... > > 11933: stat64("/usr/bin/-bash", 0xFFBFEBE8)Err#2 ENOENT > 11933: stat64("/usr/sbin/-bash", 0xFFBFEBE8)