aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Ben Boeckel <MathStuf@gmail.com>2011-03-10 21:05:56 -0500
committerGravatar Ben Boeckel <MathStuf@gmail.com>2011-03-10 22:32:50 -0500
commit8e1eee5059058a774ba3124ce18d5f0d52415202 (patch)
tree0fcdd2c9f815c1f44fa7c21df5597464dbd937ab /examples
parent23e8be89ff2a6be9237203b08167c644a7fe9cd6 (diff)
Remove extraneous sed call
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/data/scripts/formfiller.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/data/scripts/formfiller.sh b/examples/data/scripts/formfiller.sh
index 1a49e82..4b4fb4e 100755
--- a/examples/data/scripts/formfiller.sh
+++ b/examples/data/scripts/formfiller.sh
@@ -129,9 +129,6 @@ if [ "$action" = 'load' ]; then
option="$( printf "$menu" | $DMENU )"
fi
- # Remove comments
- sed -i -e '/^>/d' "$tmpfile"
-
sed -i -e 's/^\([^{]\+\){\([^}]*\)}(\(radio\|checkbox\)):\(off\|no\|false\|unchecked\|0\|$\)/\1{\2}(\3):0/I;s/^\([^{]\+\){\([^}]*\)}(\(radio\|checkbox\)):[^0]\+/\1{\2}(\3):1/I' "$form_file"
fields="$( sed -n -e "/^!profile=${option}/,/^!profile=/p" "$form_file" | \
sed -e '/^!profile=/d' | \