dsic
This commit is contained in:
parent
8562fc3e29
commit
b31b49cf10
9
dotfiles-old/scripts/dsic.sh
Executable file
9
dotfiles-old/scripts/dsic.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
SIC_C=$HOME/src/sic/sic.c
|
||||
cp "$SIC_C" ./
|
||||
|
||||
sed -e 's/No channel to send to/No channel to which to send./' -e '170s/sic/dsic/' <sic.c >dsic.c
|
||||
|
||||
diff sic.c dsic.c
|
||||
[ "$(printf "No.\nYes.\n" | dmenu -p "Write changes?")" = "Yes." ] && mv "$SIC_C" "$SIC_C".bak && mv dsic.c "$SIC_C"
|
Loading…
Reference in New Issue
Block a user