Mark Bixby found out how to create /dev/null. Good stuff !
Now, /dev/null seems to have an interesting feature: I can use it for input and
redirection, but not for copying to:
cp /dev/null blah
rmdir blah 2>/dev/null
work as expected, but
cp blah /dev/null
returns:
cp: Error copying file blah to /dev/null: Implementation-defined error
Of course it's a pointless thing to do, but why should it not work ?
The silly thing is that I can write to /dev/null from a C program with no trouble.
Chris