aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/data/scripts/history.sh
diff options
context:
space:
mode:
authorGravatar Ben Boeckel <MathStuf@gmail.com>2011-03-10 22:23:36 -0500
committerGravatar Ben Boeckel <MathStuf@gmail.com>2011-03-10 22:32:50 -0500
commitdcf3ffda8005c73c15f5142c61ee492f14af590a (patch)
treeb73cb35a08af35c81f0bf3e605a25bf378016f85 /examples/data/scripts/history.sh
parentf43741a91218936749afb3242a6e473f76387684 (diff)
Use print rather than printf
printf chokes on $(printf "%DD") which may very well come up in an encoded URL. Avoid that with the print alias.
Diffstat (limited to 'examples/data/scripts/history.sh')
-rwxr-xr-xexamples/data/scripts/history.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/data/scripts/history.sh b/examples/data/scripts/history.sh
index 4b4e970..d1e3c0f 100755
--- a/examples/data/scripts/history.sh
+++ b/examples/data/scripts/history.sh
@@ -4,4 +4,4 @@
>> "$UZBL_HISTORY_FILE" || exit 1
-printf "$( date +'%Y-%m-%d %H:%M:%S' ) $UZBL_URI $UZBL_TITLE\n" >> "$UZBL_HISTORY_FILE"
+print "$( date +'%Y-%m-%d %H:%M:%S' ) $UZBL_URI $UZBL_TITLE\n" >> "$UZBL_HISTORY_FILE"