Cao, Lixia wrote: > Hi, > > I am a QA system tester, and new to SEC. I have a question on the -conf > file. > > How would I make the "pattern" and "action=write file" variables so when > calling sec.pl, those values can be passed in dynamically, instead of > creating multiple .conf files for multiple patterns?
hi, it all depends what sort of variables you would like 'pattern' and 'action' to be. If you would like to use regular expressions for pattern, it might be possible to write them in a clever way, so that they cover all your cases. As an alternative, you could try the PerlFunc pattern type which allows you (among many other things) to create a list of regular expressions that can be changed at runtime. As for the 'action' parameter, you can employ $<number> or %<alnum> variables inside the action definition ($<number> variables are set by 'pattern'). Can you submit a more detailed description of the problem you have? (although I am traveling for the next week, other list members might be able to provide a better answer when there is more info about the problem.) hth, risto > > Thanks, > Alicia > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > > ------------------------------------------------------------------------ > > _______________________________________________ > Simple-evcorr-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Simple-evcorr-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
