Re: [AMBER] problem in output file of the awk script in tutorial A6

From: David A Case <case.biomaps.rutgers.edu>
Date: Thu, 23 Feb 2012 14:07:44 -0500

On Thu, Feb 23, 2012, shahab shariati wrote:
>
> When I use awk script (awk -f dvdl.awk a.out > a.dat) to obtain lists
> of the instantaneous DV/DL values and cumulative average, a.dat file
> was created without any error but when I open a.dat by an editor for
> example power edit or notepad, it is as follows:
>
> 0.020 7.1327
> 7.1327

Are you sure the editor didn't somehow change the file? It's hard to see how
the results of a single print statement in awk could end up on different
lines. Re-create the a.dat file, then just "cat" the result to help make
sure.

...dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Feb 23 2012 - 11:30:02 PST
Custom Search