From dcf3ffda8005c73c15f5142c61ee492f14af590a Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 10 Mar 2011 22:23:36 -0500 Subject: 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. --- examples/data/scripts/history.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/data/scripts/history.sh') 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" -- cgit v1.2.3