#!/bin/sh

set -e

echo
echo " *** FIRST EXAMPLE ***"
echo

# example taken from EJD on BB
# should give 
# P 1 2/m 1  61.5 50.0 61.5 90.0 102.5 90.0  0.00 [-1/2h-1/2k,l,-1/2h+1/2k]
# amongst other possibilities

othercell <<eof
77 96 50 90 90 90
C
eof

echo
echo " *** SECOND EXAMPLE ***"
echo

# second example with (slightly inaccurate) target cell

othercell <<eof
77 96 50 90 90 90
C
61 50 61 90 102 90
eof
