* jamal <1105979807.1078.16.camel@xxxxxxxxxxxxxxxx> 2005-01-17 11:36
> On Mon, 2005-01-17 at 11:05, Thomas Graf wrote:
> > * jamal <1105976711.1078.1.camel@xxxxxxxxxxxxxxxx> 2005-01-17 10:45
> > > You dont like the -batch option to tc? ;->
> > No, because:
> > - it duplicates logic
> Didnt follow this - uses the same code as command line. What logic gets
The parsing of top level nodes.
> > - it doesn't allow any commenting
> Trivial thing you can fix in about 33.5 seconds ;-
Simple full-line comments yes, mid-line comments no. -batch
is also not able to split things across multiple lines.
I want my scripts to look like this:
* filter dla_fp
* match DLA traffic at lower watermark
tc filter add
basic match meta(nfmark eq %LOW_WATERMARK)
nbyte("\x0\x1\x2\x3\x4" at 4 layer 2) /* 00 01 02 03 04
(dla fp) */
or u32(ip src 10.0.0.0/8)
> > - it doesn't get along with my more complicated ematch parsing
stuff like nbyte, kmp or regexp rely on quoted strings and those
would be destroyed if they'd contain whitespaces.