ra rc.37: buggy parser?

Carter Bullard carter at qosient.com
Wed Jan 24 16:41:17 EST 2007


Wolfgang,
The wording in the manpage is incorrect, the "-r" option does not
require a terminating '-' character, neither does the '-R' or the '-s'
options.   I've removed the incorrect text and modified the '-r' option
description to explain how to correctly mix files and stdin.

Thanks for the heads up!!!!!!!

Carter


On Jan 22, 2007, at 1:47 PM, Wolfgang Barth wrote:

> On Sun, Jan 21, 2007 at 11:17:15PM +0100, Philipp E. Letschert wrote:
>
>> the syntax is ra <options> - <filter>
>> the timerange is an option, not a filter
>>
>>> 1) ra -r argus.log - -t 0-1 -s +srcid - srcid gate2
>>> ra[816]: 12:27:45.481599 - srcid gate2 filter syntax error
>>
>> ra -r argus.log -t 0-1 -s +srcid - srcid gate2
>
> Okay, I missunderstood the man page. If there is only one  
> terminating '-'
> allowed, the following in the ra man page should be changed:
>
>   -r <file file ...> - to -r <file file ...>
>   -R <dir dir ...> -   to -R <dir dir ...>
>   -s <[-][[+[#]]field[:len] ...> -  to -s <[-][[+[#]]field[:len] ...>
>
> Wolfgang
> -- 
> <wob (at) swobspace de> * http://www.swobspace.de
>





More information about the argus mailing list