The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 07-24-2006
u263066 u263066 is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 66
help in merge files

I have created these files in a particular directory
a_1.txt
a_2.txt
...
..
a_n.txt

Each file has a single line.

I want to write a output file a.txt, which will have concantated value of string from all the files.

which utility should i use. copy, cat or paste????

Can anyone help me for this shell script for this.
thanks a ton in advance.
reagrds
vin