Filemanagement

John Wildberger wildberger-iRg7kjdsKiH3fQ9qLvQP4Q at public.gmane.org
Mon Mar 8 03:10:46 UTC 2004


> > 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. 
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 ???
John

--
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