rccn-functions: Use "show channels as delim" in chans()

This commit is contained in:
Keith 2018-09-24 15:39:58 +01:00
parent d52a68b9f4
commit 8372084c8b

View file

@ -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
}