From a6f2fb2a3c92138b996721efff3e2588e9642a8a Mon Sep 17 00:00:00 2001 From: tfheen Date: Thu, 10 May 2012 07:55:45 +0000 Subject: [PATCH] Output sorted paths git-svn-id: file:///svn/tfheen/trunk/dotfiles@1515 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- zshfunc/reinit-samhain-one | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zshfunc/reinit-samhain-one b/zshfunc/reinit-samhain-one index 2ba39b1..c85f9a6 100644 --- a/zshfunc/reinit-samhain-one +++ b/zshfunc/reinit-samhain-one @@ -18,7 +18,7 @@ ssh $host -t ' check > "$t" 2>&1; if [ "`grep "^CRIT" "$t" | wc -l`" != 0 ]; then echo "samhain db errors found:"; - sed -e "s/.*path=<\([^>]*\)>, .*/\1/" "$t"; + sed -e "s/.*path=<\([^>]*\)>, .*/\1/" "$t" | sort; echo; echo "Enter 'y' to continue upgrade and update samhaindb for `hostname`"; read ans; -- 2.39.5