Subject: bug#23263: cat: missingfile: No such file or directory

From: Jonny Grant <[email-masked]>
Date: Sun, 10 Apr 2016 19:43:32 +0100

Hello

I noticed that cat doesn't have an accurate message in the following 
use-case:

$ cat missingfile
cat: missingfile: No such file or directory
$ mkdir testdir
$ cat testdir
cat: testdir: Is a directory

I wrote up the details of the ENOENT problem here:
http://technoramauk.blogspot.co.uk/2015/12/enoent-considered-harmful.html

Please keep my email address in any replies as I am not on this mailing 
list.

Cheers, Jonny