D. Bolliger am Sonntag, 14. Mai 2006 00.34: > Richard Bagshaw am Samstag, 13. Mai 2006 23.11: > > Hi, > > > > Thanks for the points, you are totally right though, I had thought about > > the order being different in the lines, im still pretty green when it > > comes to regular expressions, not yet figured out a way to get around > > the differences in order, but I will RTFM :-) > > Hello Richard > > The order as well as presence/absence does not matter in my second > script(-skeleton) :-) [...]
It's again me, hopefully the last time :-( Since the order of the -XYZ and --XYZ matters for iptables, and there are also expressions possible like -p ! udp etc., it's not a trivial issue to check correct iptables syntax with perl (I admit this was not the purpose of your question). Time to get some sleep (here in .ch), Dani -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>