#!/bin/bash # sample_to_sys.sh: extract atomic positions from a sample and generate # a Qbox input file to create atoms at these positions # use: sample_to_sys.sh sample.xml > sample.sys # xsltproc - $1 << EOF set cell species atom EOF