> cat * > foobar.txt 

Note that if you're using csh, the shell will create foobar.txt *before*
expanding the glob, which probably isn't what you want.  I believe bash
will expand the glob first, but if foobar.txt happens to already exist,
you'll still be in trouble. You're better off redirecting to a file
outside of your current directory, or choosing a glob that doesn't match
your target file:  cat *.txt > bigfile  or  cat * > ../bigfile

        -jan-
-- 
Jan L. Peterson
Peterson Technologies
<[EMAIL PROTECTED]>



____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to