Subject: Re: Strange cat behavior with directories
To: Tim Rightnour <root@garbled.net>
From: None <seebs@plethora.net>
List: netbsd-help
Date: 06/18/1998 08:15:33
In message <XFMail.980618021432.root@garbled.net>, Tim Rightnour writes:
>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??

Because it does this:

1.  Create a file called out.
2.  Find what files there are (blah, bob, and out)
3.  concatenate all the files into out.  This may take some time; anything
it writes, it'll just have to read a little later.

>Is this a bug?  should I send-pr it?  Or is this "expected wierd behavior" and
>"dont do that"?

Don't do that.

-s