Use 'as delim' in chans() utility.
This commit is contained in:
parent
da90219511
commit
90d30a78b7
1 changed files with 8 additions and 8 deletions
|
@ -12,14 +12,14 @@ waitfor0calls () {
|
|||
done
|
||||
}
|
||||
|
||||
chans () {
|
||||
while [ 1 == 1 ]
|
||||
do
|
||||
_output=`fs_cli -x 'show channels' | head -n -3 | sed -E 's/\{([^,]*),([^}]*)}/{\1\2}/' | csvcut -c 3,2,6,8,10,11,13,15,18 | csvlook -I`
|
||||
clear
|
||||
echo "$_output"
|
||||
sleep 1
|
||||
done
|
||||
chans ()
|
||||
{
|
||||
while [ 1 == 1 ]; do
|
||||
_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;
|
||||
done
|
||||
}
|
||||
|
||||
topcalls () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue