|
On Monday 15 October 2001 18:32, James Rich wrote: > Yes, I know one isn't *required* to prompt. But I didn't know that the > keywords aren't required. 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 > I think the self-documenting of QCL is exemplified in the fact that: > cp file1 file2 file3 file4 outputfile wont work in unix.... and it's not apparent why. I guess you meant: cat file1 file2 file3 file4 > outputfile ...but what happens if something goes wrong and you dont have authority to file3? The actual error-recovery code has to be included, and this would make the whole thing a lot harder... surely?
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.