From 69a12de4c695a24537dd53b07d432429c0a8321f Mon Sep 17 00:00:00 2001 From: jxyzn Date: Wed, 28 Nov 2018 13:53:42 -0800 Subject: [PATCH] Make ctail handle files with spaces in their name Quotes are needed around "$@" to keep parameters from splitting on spaces. --- usr/bin/ctail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/ctail b/usr/bin/ctail index 054eef8a..67086157 100755 --- a/usr/bin/ctail +++ b/usr/bin/ctail @@ -20,7 +20,7 @@ # along with this program. If not, see . if which ccze >/dev/null 2>&1; then - tail -F $@ | ccze -A + tail -F "$@" | ccze -A else echo "ERROR: ccze not found, hint..." 1>&2 echo " sudo apt-get install ccze" 2>&1