Conversion between different data file formats
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