From 32f6f8360684c0b583e613cf5727f0c102438bd2 Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Sun, 13 Mar 2011 21:49:27 -0600 Subject: sh scripts: replace print with echo/printf we can safely use echo in many of the situations where 'print' is being used, and we can use printf directly in other places. --- 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 d1e3c0f..0709b5e 100755 --- a/examples/data/scripts/history.sh +++ b/examples/data/scripts/history.sh @@ -4,4 +4,4 @@ >> "$UZBL_HISTORY_FILE" || exit 1 -print "$( date +'%Y-%m-%d %H:%M:%S' ) $UZBL_URI $UZBL_TITLE\n" >> "$UZBL_HISTORY_FILE" +echo "$( date +'%Y-%m-%d %H:%M:%S' ) $UZBL_URI $UZBL_TITLE" >> "$UZBL_HISTORY_FILE" -- cgit v1.2.3