On Wed, May 16, 2001 at 01:30:03PM -0500, Timothy Wilson wrote:
> wilsont at galileo:~/tmp$ cat file1 >> cat file2 >> cat file3 > newfile
> wilsont at galileo:~/tmp$ cat newfile
> A
> B
> C
> wilsont at galileo:~/tmp$ 
> 
> This is exactly what I want, but the redirection on the command line doesn't
> make sense to me. In fact, the order seems exactly opposite from what it
> seems like it should be.

Freakier still:

$ cat file1 >> cat file2 >> cat file3
$ cat cat
A
B
C

I grok why a file named cat is being created (FYI, your original example
creates an empty file named cat in addition to creating newfile) and
why it contains the A and the B, but it doesn't seem like the C should
be there.

-- 
That's not gibberish...  It's Linux. - Byers, The Lone Gunmen
Geek Code 3.1:  GCS d? s+: a- C++ UL++$ P++>+++ L+++>++++ E- W--(++) N+ o+
!K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI++++ D G e* h+ r y+