X-Git-Url: https://git.llucax.com/personal/ion3-config.git/blobdiff_plain/95055893030d872a0836efab8981ab50b5f4cf20..a55ac9985c3a56924571aa9dbe8ca019afcd7678:/psi_status.sh diff --git a/psi_status.sh b/psi_status.sh index f68de5b..9a27059 100755 --- a/psi_status.sh +++ b/psi_status.sh @@ -7,7 +7,10 @@ regex='^\s*\(.*\)<\/jid>.*/\1/' | sort -u` + | sed 's/.*\(.*\)<\/jid>.*/\1/' \ + | sort -u \ + | tr '\n' ' ' \ + | sed 's/ $//'` if [ $msgs -eq 0 ] then echo "nada nuevo"