From 1c8635db3838f613e400a5ef8897f7853e260276 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 21 Aug 2010 10:09:09 -0400 Subject: Use $() over `` --- examples/data/scripts/history.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/data/scripts/history.sh') diff --git a/examples/data/scripts/history.sh b/examples/data/scripts/history.sh index 7c83aa6..be5fd34 100755 --- a/examples/data/scripts/history.sh +++ b/examples/data/scripts/history.sh @@ -1,5 +1,5 @@ #!/bin/sh file=${XDG_DATA_HOME:-$HOME/.local/share}/uzbl/history -[ -d `dirname $file` ] || exit 1 -echo `date +'%Y-%m-%d %H:%M:%S'`" $6 $7" >> $file +[ -d $(dirname $file) ] || exit 1 +echo $(date +'%Y-%m-%d %H:%M:%S')" $6 $7" >> $file -- cgit v1.2.3