Re: odd error from bash exec binary on cmd line

2018-04-03 Thread L A Walsh
Chet Ramey wrote: On 3/24/18 3:31 PM, L A Walsh wrote: bash sleep 1 I get: /usr/bin/sleep: /usr/bin/sleep: cannot execute binary file ??? Isn't it bash that cannot execute the binary file because it expected a script? Think about what happens when you run a command like that. Bas

Re: odd error from bash exec binary on cmd line

2018-03-25 Thread Chet Ramey
On 3/24/18 3:31 PM, L A Walsh wrote: > bash sleep 1 > > I get: > > /usr/bin/sleep: /usr/bin/sleep: cannot execute binary file > > ??? > Isn't it bash that cannot execute the binary file because > it expected a script? Think about what happens when you run a command like that. Bash sees that it