|
File Concatenation
Hi,
I want to write a generic shell script, which can concatenate n number of files passed as parameter ;to an output file which is again a parameter
Example
catfl.sh outfl.txt a.txt b.txt c.txt (3 files to be concatenated into a file outfl.txt)
catfl.sh outfl.txt a.txt b.txt(2 files to be concatenated into a file outfl.txt)
The directories in which the input files are stored would contain a number of other text files.
I am fairly new to unix . Any help as to how to acheive the above results is greatly appreciated.
Thanks much in advance!
Sam
|