You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
329 B
Bash
11 lines
329 B
Bash
#! /bin/sh
|
|
# remove <number>=<shortcuts> lines for per-window shortcuts that are not supposed to be saved
|
|
while read line; do
|
|
if echo "$line" | grep '^[0-9]\+=' >/dev/null 2>/dev/null; then
|
|
key=`echo "$line" | sed 's/^\([0-9]\+\)=.*$/\1/'`
|
|
echo '# DELETE [kwin]'$key
|
|
else
|
|
echo "$line"
|
|
fi
|
|
done
|