qasm/tomerlin.sh

13 lines
216 B
Bash
Executable File

#!/bin/bash
rm -rf ./testdata1/*
cp -r ./testdata/*.S testdata1/
cd ./testdata1
X=`ls *.S`
for F in $X ; do
UFNAME=`echo $F | tr '[:lower:]' '[:upper:]'`
qasm -x format-merlin $F >${UFNAME}
rm -rf $F
done
ls