|
James: On Mon, 15 October 2001, James Rich wrote: > Sticking with the "cat" example from before, > how does one copy multiple files to a target file, creating the target > file if it doesn't exist, concatenating the multiple files together in the > target file, but removing any data already in the target file if it > exists, all without using keywords? So the same as the unix command: > > cp file1 file2 file3 file4 outputfile If this were something I'd commonly want to do, I'd probably just create a command that would be run like: нн> cp (file1 file2 file3 file4) outputfile or even: нн> cp (file1 file2 file3 file4 outputfile) and even: нн> cp file1 file2 file3 file4 outputfile though there are some basic limits on how many files could be handled under such command structures. Of course, it's not something I can imagine wanting to do more a couple times in my remaining career; so I doubt I'd create such a command. I just don't need to cat files together that often, though I might CPYF MBROPT(*ADD) from time to time. Tom Liotta -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 Fax 253-872-7904 http://www.400Security.com ___________________________________________________ The ALL NEW CS2000 from CompuServe Better! Faster! More Powerful! 250 FREE hours! Sign-on Now! http://www.compuserve.com/trycsrv/cs2000/webmail/
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.