Added jlccplfix.sh

This commit is contained in:
Logan G 2024-03-12 01:37:51 -06:00
parent 47cc27b7fd
commit f29443a7ea
Signed by: logan
GPG key ID: E328528C921E7A7A

10
jlccplfix.sh Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -e
if [[ ! -f "$1" ]]; then
echo "File does not exist!"
exit 1
fi
sed -i -e '1s|Ref|Designator|; 1s|PosX|Mid X|; 1s|PosY|Mid Y|; 1s|Rot|Rotation|; 1s|Side|Layer|' "$1"