From 8372084c8bfd79cccae52e3abe193ff6a740c083 Mon Sep 17 00:00:00 2001 From: Keith Date: Mon, 24 Sep 2018 15:39:58 +0100 Subject: [PATCH] rccn-functions: Use "show channels as delim" in chans() --- modules/rhizo_base/templates/rccn-functions.sh.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rhizo_base/templates/rccn-functions.sh.erb b/modules/rhizo_base/templates/rccn-functions.sh.erb index 19abd39..6aac954 100644 --- a/modules/rhizo_base/templates/rccn-functions.sh.erb +++ b/modules/rhizo_base/templates/rccn-functions.sh.erb @@ -15,10 +15,10 @@ waitfor0calls () { chans () { while [ 1 == 1 ] do - _output=`fs_cli -x 'show channels' | csvcut -c 3,2,6,8,10,11,13,15,18 | csvlook -I` + _output=`fs_cli -x 'show channels as delim |' | csvcut -d\| -c 3,2,6,8,10,11,13,15,18 | csvlook -I` clear echo "$_output" - sleep 1 + sleep 0.5 done }