> t...@herc:~ $ mkdir tmp; cat tmp; echo $? > 0 > > This is consistent with the rest of the operating system, > ans as such not a bug, unless SUSv4 were to specifiy otherwise.
FYI, In Debian Linux the cat(1) behaves in standards compliant way[1]: $ cat /tmp cat: /tmp: Is a directory $ echo $? 1 It would be helpful to report this cat(1) bug to the OS you had used for testing. [1] http://www.opengroup.org/onlinepubs/009695399/utilities/cat.html -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org