Re: [Tutor] concatenating files

2009-02-27 Thread Alan Gauld
"Bala subramanian" wrote I have file1.dat,file2.dat...file 300.dat in one directory. I want to concatenate all the files in a single file (total.dat) with a string "END" separating the file contents. If you are on Linux (or other *nix variant) you may be better off using the shell... fo

Re: [Tutor] concatenating files

2009-02-27 Thread Alan Gauld
"Bala subramanian" wrote I have file1.dat,file2.dat...file 300.dat in one directory. I want to concatenate all the files in a single file (total.dat) with a string "END" separating the file contents. my total.dat should be file1.dat contents END file2.dat contents END file300.dat

Re: [Tutor] concatenating files

2009-02-27 Thread Jay Deiman
Bala subramanian wrote: Hai, I have file1.dat,file2.dat...file 300.dat in one directory. I want to concatenate all the files in a single file (total.dat) with a string "END" separating the file contents. my total.dat should be file1.dat contents END file2.dat contents END file300.

[Tutor] concatenating files

2009-02-27 Thread Bala subramanian
Hai, I have file1.dat,file2.dat...file 300.dat in one directory. I want to concatenate all the files in a single file (total.dat) with a string "END" separating the file contents. my total.dat should be file1.dat contents END file2.dat contents END file300.dat. now i have another 400