From 8e1eee5059058a774ba3124ce18d5f0d52415202 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 10 Mar 2011 21:05:56 -0500 Subject: Remove extraneous sed call --- examples/data/scripts/formfiller.sh | 3 --- 1 file changed, 3 deletions(-) (limited to 'examples') 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' | \ -- cgit v1.2.3