diff options
author | Pawel Tomak <satherot@gmail.com> | 2010-03-14 11:43:53 +0100 |
---|---|---|
committer | Mason Larobina <mason.larobina@gmail.com> | 2010-03-15 03:16:58 +0800 |
commit | 616e583c8c6fc80c2b7eef2da3329af851f34b6f (patch) | |
tree | b60e38968da0a617d8fdeee261f3e8fe8f56cab6 /examples | |
parent | 8f62d8d48186d1766cebf362ac4a154ab60e523a (diff) |
Removed spaces after the : in field list
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/data/scripts/eFormFiller.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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/.*\(<input[^>]\+>\).*/\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/.*<textarea.*name="\([^"]\+\)".*/\1(textarea): /Ip' >> $tmpfile + sed -n 's/.*<textarea.*name="\([^"]\+\)".*/\1(textarea):/Ip' >> $tmpfile ${editor} $tmpfile [ -e $tmpfile ] || exit 2 @@ -150,7 +150,7 @@ else sed 's/type="text"\(.*\)type="\([^"]\+\)"/type="\2" \1 /g' | \ sed -n 's/.*\(<input[^>]\+>\).*/\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 |