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

From: g t <sketchfoot.gmail.com>
Date: Thu, 22 Mar 2012 07:24:30 +0000

the windows programs you are using messes up the carriage return as unix
uses a different style. use notepad++ to view unix text files on windows.

On 23 February 2012 19:07, David A Case <case.biomaps.rutgers.edu> wrote:

> 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
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Mar 22 2012 - 00:30:03 PDT
Custom Search