On Thu, May 11, 2006 at 08:28:45AM +0800, Ronald Wiplinger wrote:
> I upgraded recently to Asterisk SVN-branch-1.2-r25165M
> 
> the commandline  
>   asterisk -rx 'sip show peers'
> 
> returns with the first line:
> on
> 
> Is that a bug, or how can I omit it?
> 
> I used:
> asterisk -rx 'sip show peers'|grep OK|sort | tee /dev/tty |wc -l; echo " 
> registered at ELMIT"
> 
> which results (because of on) to:
> 
> Binary file (standard input) matches

use 'grep -a' (grep --text)

-- Tzafrir
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to