Filemanagement
Chris F.A. Johnson
c.f.a.johnson-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Mon Mar 8 03:51:18 UTC 2004
On Sun, 7 Mar 2004, John Wildberger wrote:
>
> > > With this explanation I will have to revise my understanding of the
> > > mechanics in the execution of the command cat *.pgn > newfile.
> > > Are all the *.pgn files first listed on one line before they are passed
> > > into newfile??
> >
> > The shell expands the wildcard and passes the list to the command.
>
> With just two files a.pgn and b.pgn the command line for cat *.pgn > newfile
> will then be expanded to cat a.pgn b.pgn > newline.
Right.
> Therefore the CLI limit will be affected by the sum of the filename
> length and not by the content of the files. Did I get this right ???
I don't know whether it's the total length, or the number of
arguments, or a combination of both, but it has nothing to do with
the contents of the files.
--
Chris F.A. Johnson http://cfaj.freeshell.org
=================================================================
Everything in moderation -- including moderation
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list