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/load_url_from_bookmarks.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/data/scripts/load_url_from_bookmarks.sh') diff --git a/examples/data/scripts/load_url_from_bookmarks.sh b/examples/data/scripts/load_url_from_bookmarks.sh index 569f2bf..3134407 100755 --- a/examples/data/scripts/load_url_from_bookmarks.sh +++ b/examples/data/scripts/load_url_from_bookmarks.sh @@ -8,11 +8,11 @@ COLORS=" -nb #303030 -nf khaki -sb #CCFFAA -sf #303030" if dmenu --help 2>&1 | grep -q '\[-rs\] \[-ni\] \[-nl\] \[-xs\]'; then DMENU="dmenu -i -xs -rs -l 10" # vertical patch # show tags as well - goto=`$DMENU $COLORS < $file | awk '{print $1}'` + goto=$($DMENU $COLORS < $file | awk '{print $1}') else DMENU="dmenu -i" # because they are all after each other, just show the url, not their tags. - goto=`awk '{print $1}' $file | $DMENU $COLORS` + goto=$(awk '{print $1}' $file | $DMENU $COLORS) fi #[ -n "$goto" ] && echo "uri $goto" > $4 -- cgit v1.2.3