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.
kwin/data/on-off_to_true-false.sh

6 lines
110 B
Bash

#!/bin/sh
while read line; do
echo "$line" | sed 's@=\s*on\s*$@=true@g' | sed 's@=\s*off\s*$@=false@g'
done