diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2011-03-10 21:09:03 -0500 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2011-03-10 22:32:50 -0500 |
commit | 5f2a6b9371fcf2ca78143cd255242e1cacac6ad1 (patch) | |
tree | 99ed27b7f261673b85c13bf222ed36b02d67cf76 /examples/data/scripts/go_input.sh | |
parent | 8e1eee5059058a774ba3124ce18d5f0d52415202 (diff) |
Use printf rather than echo
Diffstat (limited to 'examples/data/scripts/go_input.sh')
-rwxr-xr-x | examples/data/scripts/go_input.sh | 4 |
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 |