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/load_url_from_history.sh | |
parent | 8e1eee5059058a774ba3124ce18d5f0d52415202 (diff) |
Use printf rather than echo
Diffstat (limited to 'examples/data/scripts/load_url_from_history.sh')
-rwxr-xr-x | examples/data/scripts/load_url_from_history.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/data/scripts/load_url_from_history.sh b/examples/data/scripts/load_url_from_history.sh index 24bfdce..3537b35 100755 --- a/examples/data/scripts/load_url_from_history.sh +++ b/examples/data/scripts/load_url_from_history.sh @@ -18,5 +18,5 @@ else goto="$( tac "$UZBL_HISTORY_FILE" | $DMENU | cut -d ' ' -f -3 | awk '{ print $NF }' )" fi -[ -n "$goto" ] && echo "uri $goto" > "$UZBL_FIFO" -#[ -n "$goto" ] && echo "uri $goto" | socat - "unix-connect:$UZBL_SOCKET" +[ -n "$goto" ] && printf "uri $goto\n" > "$UZBL_FIFO" +#[ -n "$goto" ] && printf "uri $goto\n" | socat - "unix-connect:$UZBL_SOCKET" |