Conversion between different data file formats
Revision as of 13:48, 30 April 2008 by import>Em427
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