Subject: Strange cat behavior with directories
To: None <netbsd-help@NetBSD.ORG>
From: Tim Rightnour <root@garbled.net>
List: netbsd-help
Date: 06/18/1998 02:11:50
I was fiddling around with something the other night, and did this:
mkdir bob
cp blah bob
cat *>out
At which point the machine just stood there.. ^C, and the file out was about
2 megs!
cat bob>out gives a 512 byte file.. so why when I do the *, does it make such a
mess??
Is this a bug? should I send-pr it? Or is this "expected wierd behavior" and
"dont do that"?
---
Tim Rightnour - root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html