From cc96ab57b086cdb0218a88d9d3cf6840bafa4d09 Mon Sep 17 00:00:00 2001 From: Pawel Tomak Date: Sun, 14 Mar 2010 11:43:53 +0100 Subject: Removed spaces after the : in field list --- examples/data/scripts/eFormFiller.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/data/scripts/eFormFiller.sh b/examples/data/scripts/eFormFiller.sh index 958670d..64932a3 100755 --- a/examples/data/scripts/eFormFiller.sh +++ b/examples/data/scripts/eFormFiller.sh @@ -103,9 +103,9 @@ then echo "${html}" | \ sed -n 's/.*\(]\+>\).*/\1/;/type="\(password\|text\)"/Ip' | \ sed 's/\(.*\)\(type="[^"]\+"\)\(.*\)\(name="[^"]\+"\)\(.*\)/\1\4\3\2\5/I' | \ - sed 's/.*name="\([^"]\+\)".*type="\([^"]\+\)".*/\1(\2): /I' >> $tmpfile + sed 's/.*name="\([^"]\+\)".*type="\([^"]\+\)".*/\1(\2):/I' >> $tmpfile echo "${html}" | \ - sed -n 's/.*> $tmpfile + sed -n 's/.*> $tmpfile ${editor} $tmpfile [ -e $tmpfile ] || exit 2 @@ -150,7 +150,7 @@ else sed 's/type="text"\(.*\)type="\([^"]\+\)"/type="\2" \1 /g' | \ sed -n 's/.*\(]\+>\).*/\1/;/type="\(password\|text\)"/Ip' | \ sed 's/\(.*\)\(type="[^"]\+"\)\(.*\)\(name="[^"]\+"\)\(.*\)/\1\4\3\2\5/I' | \ - sed 's/.*name="\([^"]\+\)".*type="\([^"]\+\)".*/\1(\2): /I' >> $keydir/$domain + sed 's/.*name="\([^"]\+\)".*type="\([^"]\+\)".*/\1(\2):/I' >> $keydir/$domain fi [ -e "$keydir/$domain" ] || exit 3 #this should never happen, but you never know. $editor "$keydir/$domain" #TODO: if user aborts save in editor, the file is already overwritten -- cgit v1.2.3