ra rc.37: buggy parser?

Wolfgang Barth wob at swobspace.de
Mon Jan 22 13:47:53 EST 2007


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