ra rc.37: buggy parser?

Carter Bullard carter at qosient.com
Mon Jan 22 09:54:40 EST 2007


Wolfgang,

A lone "-" is the option terminator, and everything
after this is considered to be the filter.

So remove the lone " - " after 'argus.log'.

Carter


On Jan 21, 2007, at 6:45 AM, Wolfgang Barth wrote:

> Hi,
>
> I have some problems with ra:
>
> 1) ra -r argus.log - -t 0-1 -s +srcid - srcid gate2
> ra[816]: 12:27:45.481599 - srcid gate2 filter syntax error
>
> should work.
>
> 2) ra -r argus.log - -t 0-1 -s +srcid srcid gate2
> ra[2734]: 12:28:46.927079 syntax error: gate2 not found
>
> okay, this is a wrong syntax, but:
>
> 3)  ra -r argus.log - -s +srcid -t 0-1 srcid gate2
>
> works as expected, but not:
>
> 4)  ra -r argus.log - -s +srcid -t 0 srcid gate2
>
> No Output. Seems to be interpreted as -t 0:00-0:00, is this a new  
> behavior
> in rc.37 ?
>
> 5) ra -r argus.log - -s +srcid - -t 0-1 srcid gate2
> ra[9573]: 12:33:15.462322 - srcid gate2 filter syntax error
>
> Regards,
> Wolfgang
> -- 
> <wob (at) swobspace de> * http://www.swobspace.de
>

Carter Bullard
CEO/President
QoSient, LLC
150 E. 57th Street Suite 12D
New York, New York 10022

+1 212 588-9133 Phone
+1 212 588-9134 Fax


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20070122/59f9d141/attachment.html>


More information about the argus mailing list