aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/formfiller.sh
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2010-12-01 12:09:13 -0700
committerGravatar Brendan Taylor <whateley@gmail.com>2010-12-01 12:10:49 -0700
commit081c95aee6d6490fdaf67e22c3d6245009462908 (patch)
tree583d710969e50f00492f1bf9f8792063a26da5f7 /examples/data/scripts/formfiller.sh
parente293bf512759ac46b48707bac376d04400d5e27d (diff)
positional arguments still exist: fix download.sh, follow.sh and the formfiller
Diffstat (limited to 'examples/data/scripts/formfiller.sh')
-rwxr-xr-xexamples/data/scripts/formfiller.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/data/scripts/formfiller.sh b/examples/data/scripts/formfiller.sh
index c6822e6..6e04573 100755
--- a/examples/data/scripts/formfiller.sh
+++ b/examples/data/scripts/formfiller.sh
@@ -53,6 +53,8 @@ MODELINE="> vim:ft=formfiller"
[ -d "$(dirname $UZBL_FORMS_DIR)" ] || exit 1
[ -d $UZBL_FORMS_DIR ] || mkdir $UZBL_FORMS_DIR || exit 1
+shift 7
+
action=$1
domain=$(echo $UZBL_URI | sed 's/\(http\|https\):\/\/\([^\/]\+\)\/.*/\2/')