From f0f3c02a3ccde07d3dc79577c7eca41ea3e8e86f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 2 Apr 2010 11:32:38 +0200 Subject: Replace $var by ${var} --- etc/functions/gtd-all | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'etc/functions/gtd-all') diff --git a/etc/functions/gtd-all b/etc/functions/gtd-all index ddbfdba..3cbdde5 100644 --- a/etc/functions/gtd-all +++ b/etc/functions/gtd-all @@ -5,8 +5,8 @@ typeset prefix=~/var/gtd typeset database typeset -i force -while [[ $1 == -* ]] { - case $1 in +while [[ ${1} == -* ]] { + case ${1} in -|--) shift; break ;; --force) force=1 ;; esac @@ -26,7 +26,7 @@ function gtd_grep { return 0 } -for database in $prefix/*(.N); { +for database in ${prefix}/*(.N); { echo "\n${database:t}" - todo --database $database $* | gtd_grep + todo --database ${database} ${*} | gtd_grep } -- cgit v1.2.3