Added jlccplfix.sh
This commit is contained in:
parent
47cc27b7fd
commit
f29443a7ea
1 changed files with 10 additions and 0 deletions
10
jlccplfix.sh
Normal file
10
jlccplfix.sh
Normal 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"
|
Loading…
Reference in a new issue