]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - lessfilter
Don't use echo for data from the user.
[config/dotfiles.git] / lessfilter
index fc9eac4e13a760bfdc94238c6130fea446b48148..92d62c42009d762cbdee483eac5ecfd4fd03046f 100755 (executable)
@@ -24,7 +24,7 @@ case "$1" in
     *)
         # Display directory contents.
         if test -d "$1"; then
-            echo "=> Contents of $1:"
+            printf '=> Contents of %s:\n' "$1"
             ls "$1"
             exit 0
         fi