#!/bin/csh if ($#argv == 0) then echo "Byte Swap NMRPipe format files:" echo "$0 file1 ..." echo "Run this script on the destination machine." exit 0 endif foreach i ($*) echo $i nmrPipe -inPlace -inSwap -in $i -out $i -ov -fn SHUF -bswap end