aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/go_input.sh
diff options
context:
space:
mode:
authorGravatar Ben Boeckel <MathStuf@gmail.com>2011-03-10 21:09:03 -0500
committerGravatar Ben Boeckel <MathStuf@gmail.com>2011-03-10 22:32:50 -0500
commit5f2a6b9371fcf2ca78143cd255242e1cacac6ad1 (patch)
tree99ed27b7f261673b85c13bf222ed36b02d67cf76 /examples/data/scripts/go_input.sh
parent8e1eee5059058a774ba3124ce18d5f0d52415202 (diff)
Use printf rather than echo
Diffstat (limited to 'examples/data/scripts/go_input.sh')
-rwxr-xr-xexamples/data/scripts/go_input.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/data/scripts/go_input.sh b/examples/data/scripts/go_input.sh
index c3c966b..6574a83 100755
--- a/examples/data/scripts/go_input.sh
+++ b/examples/data/scripts/go_input.sh
@@ -1,7 +1,7 @@
#!/bin/sh
-case "$( echo 'script @scripts_dir/go_input.js' | socat - "unix-connect:$UZBL_SOCKET" )" in
+case "$( printf "script @scripts_dir/go_input.js\n" | socat - "unix-connect:$UZBL_SOCKET" )" in
*XXXEMIT_FORM_ACTIVEXXX*)
- echo 'event FORM_ACTIVE' > "$UZBL_FIFO"
+ printf "event FORM_ACTIVE\n" > "$UZBL_FIFO"
;;
esac