Results 1 to 1 of 1
Hi everybody:
Could anybody tell me if I have several files which each one it has this pattern name:
Code:
name1.dat name2.dat name3.dat name4.dat name10.dat name11.dat name30.dat
If I would ...
- 10-18-2007 #1
easy question
Hi everybody:
Could anybody tell me if I have several files which each one it has this pattern name:
If I would like create one like:Code:name1.dat name2.dat name3.dat name4.dat name10.dat name11.dat name30.dat
in orderCode:name_total.dat
I have done this two options:
andCode:for i in dn_rad_flux*.dat do cat $i >> dn_rd.dat done
Because I would like that each file be pasted in columns. And in two cases I have a paste in one column.Code:for i in dn_rad_flux*.dat do paste $i >> dn_rd.dat done
Thanks in advance


Reply With Quote