On 29/08/17 16:35, Chet Ramey wrote:
On 8/29/17 8:40 AM, Jonny Grant wrote:
Hello

Could bash have some better handling of ENOENT for directories that don't
exist and files that don't exist?

Better than the error message the OS associates with that errno? The one
that comes straight from strerror()?

Hi Chet, yes perhaps like GNU Objdump does:


$ objdump -d missing.elf
objdump: 'missing.elf': No such file

$ objdump -d mydir
objdump: Warning: 'mydir' is not an ordinary file

Cheers, Jonny

Reply via email to