From e928d82b794327189014993e3525e44ee3d34ab5 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Tue, 30 Nov 2010 18:56:33 -0300 Subject: [PATCH] dsv (search): quote file name, so that we can also look up names with spaces --- dsv/dsv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsv/dsv b/dsv/dsv index ed24285..e0e9687 100755 --- a/dsv/dsv +++ b/dsv/dsv @@ -134,7 +134,7 @@ search() while true; do if [ -d $DSV_DIR ]; then if [ -r "$DSV_DIR/dsv-$1" ]; then - file=`cat $DSV_DIR/dsv-$1` + file=`cat "$DSV_DIR/dsv-$1"` if [ ! -r "$DSV_DIR/$file" ]; then echo "$1 -> $file: does not exist" 2>&1 exit 1