<p dir="ltr"><br>
On Apr 19, 2013 1:36 AM, "Nick Moffitt" <<a href="mailto:nick@zork.net">nick@zork.net</a>> wrote:<br>
><br>
> Tony Godshall:<br>
> > awk syntax argued to be better than if(){}else{}?<br>
><br>
> To be clear, awk supports exactly the if(){}else{} syntax you list here.<br>
><br>
> > // better than m{} ?<br>
><br>
> I won't argue the relative merits: PCRE is clearly The Best Regex<br>
> Syntax, but POSIX RE does pretty well.</p>
<p dir="ltr">I'm not quite sure what you mean here ... Of course one of the reasons I use perl instead of ask and sed was so I wouldn't have to keep track of variations in RE syntax or vary-by-tool delimiter restrictions</p>
<p dir="ltr">> > And what if you have to match paths, hmmm? do you enjoy<br>
> > slanty-stick-land?<br>
><br>
> Setting FS to '/' lets you treat path sub-components as columns, if<br>
> that's your thing. I do that occasionally when using Dan Egnor's<br>
> xml2/html2 tools.</p>
<p dir="ltr">Tell me more about HTML and XML tools</p>
<p dir="ltr">> Support your droogs!</p>
<p dir="ltr">?</p>