From 5f2a6b9371fcf2ca78143cd255242e1cacac6ad1 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 10 Mar 2011 21:09:03 -0500 Subject: Use printf rather than echo --- 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 bbef20a..4b660c3 100755 --- a/examples/data/scripts/history.sh +++ b/examples/data/scripts/history.sh @@ -4,4 +4,4 @@ [ -w "$UZBL_HISTORY_FILE" ] || [ ! -a "$UZBL_HISTORY_FILE" ] || exit 1 -echo "$( date +'%Y-%m-%d %H:%M:%S' ) $UZBL_URI $UZBL_TITLE" >> "$UZBL_HISTORY_FILE" +printf "$( date +'%Y-%m-%d %H:%M:%S' ) $UZBL_URI $UZBL_TITLE\n" >> "$UZBL_HISTORY_FILE" -- cgit v1.2.3