Conversion between different data file formats

From CUC3
Revision as of 13:48, 30 April 2008 by import>Em427
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

xyz -> inpcrd

prepare file xyz2inpcrd containing the following line:

  {printf("%.7f %.7f %.7f "), $1, $2, $3} {getline} {printf("%.7f %.7f %.7f\n"), $1, $2, $3}

next type

 awk -f xyz2inpcrd input.xyz outpur.inpcrd