Eric Blake <ericbl...@comcast.net> writes: >> $ ls - >> ls: cannot access -: No such file or directory > > ls is not one of those commands. So rather than listing > stdin or stdout (neither of which makes sense)
Actually, it would make a lot of sense for 'ls' to list stdin, no? 'ls' could apply fstat to stdin and show the results.