> --- Stuart Jansen <[EMAIL PROTECTED]> wrote:
> On Wed, 2004-01-07 at 18:45, Carl Youngblood wrote:
> > Can I give a wildcard to cat instead of a list?  There
> > are a lot of files.
>
> The shell will glob the pattern you give into a list. cat
> doesn't have to know anything about wildcards for this to
> work. So yes, you can use a wildcard.

A note about wildcards.  Yes, you can use them.  You may
want to note that the shell will expand the wildcard in
/sorted/ order.  So, if you care about the order that your
files appear in the big output file, make sure the names are
ordered the way you want them.  Also, note that it's an
"asciibetical" sort, so, for instance, 10 comes after 1 but
before 2.  If your files are numerically named, use leading
zeroes to get the proper sort order.

- Gary

=====
PGP Key ID: 071B173D
Fingerprint: ED30 B048 6833 56B4 28C0 CE52 F12B 884A 071B 173D

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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

Reply via email to