Skip to content

Commit

Permalink
Fix using sed -i.
Browse files Browse the repository at this point in the history
  • Loading branch information
larsbrinkhoff committed Sep 13, 2023
1 parent cb1209a commit 195fbfc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/pdp10-ka/start
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ tvcon() {
}

type340() {
sed -i 's/set dpy disabled/set dpy enabled/' \
sed -i.old 's/set dpy disabled/set dpy enabled/' \
out/pdp10-ka/run
}

cscope() {
sed -i 's/set wcnsls enabled joystick/set wcnsls enabled joystick cscope/' \
sed -i.old 's/set wcnsls enabled joystick/set wcnsls enabled joystick cscope/' \
out/pdp10-ka/run
}

Expand Down Expand Up @@ -100,7 +100,7 @@ EOF
touch out/pdp10-ka/nohelp
}

sed -i -e 's/set dpy enabled/set dpy disabled/' \
sed -i.old -e 's/set dpy enabled/set dpy disabled/' \
-e 's/set wcnsls enabled joystick cscope/set wcnsls enabled joystick/' \
out/pdp10-ka/run

Expand Down

0 comments on commit 195fbfc

Please sign in to comment.