Hi everybody:
Could anybody tell me how if I have several files ( each file it has one column) which each one it has this pattern name:
If I would like create one like:
in order
I have done this two options:
and
Because I would like that each file be pasted in columns. And in two cases I have a paste in one column.
Thanks in advance
Could anybody tell me how if I have several files ( each file it has one column) 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 like create one like:
Code:
name_total.dat
I have done this two options:
Code:
for i in dn_rad_flux*.dat
do
cat $i >> dn_rd.dat
done
Code:
for i in dn_rad_flux*.dat
do
paste $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.
Thanks in advance