scripts/convert.sh

26 lines
600 B
Bash
Raw Permalink Normal View History

2023-06-07 12:04:46 -04:00
#!/bin/bash
for FILE in $(find . -name '*.l'); do
echo "$FILE"
2023-12-30 19:52:53 -05:00
/home/nbingham/workspace/broccoli/scripts/hspice2xyce $FILE > tmp
yes | mv tmp $FILE
done
for FILE in $(find . -name '*.inc'); do
echo "$FILE"
/home/nbingham/workspace/broccoli/scripts/hspice2xyce $FILE > tmp
yes | mv tmp $FILE
done
for FILE in $(find . -name '*.lib'); do
echo "$FILE"
/home/nbingham/workspace/broccoli/scripts/hspice2xyce $FILE > tmp
yes | mv tmp $FILE
2023-06-07 12:04:46 -04:00
done
for FILE in $(find . -name '*.spice'); do
echo "$FILE"
2023-12-30 19:52:53 -05:00
/home/nbingham/workspace/broccoli/scripts/hspice2xyce $FILE > tmp
yes | mv tmp $FILE
2023-06-07 12:04:46 -04:00
done