I have one set of files with naming convention bond_7.LEU.CA.1.dat bond_10.VAL.CB.1.dat..... and have other set of files starting with the string distance rather than bond with the same extension i.e.,distance_7.LEU.CA.1.dat .... and i am trying to merge corresponding or subsequent lines of files using paste command in shell scripting
I am intending to do paste bond_7.LEU.CA.1.dat distance_7.LEU.CA.1.dat > ../raj/angle_dist_7.LEU.CA.dat
I have tried to use for loop and stuck with replacing the string of the file name to access the appropriate file.
Thanks in advance,
Any help will be appreciated.