On 4/17/06, David Dooling <[EMAIL PROTECTED]> wrote:
> On 4/17/06, Scott Granneman <[EMAIL PROTECTED]> wrote:
> > ---------- Forwarded message ----------
>
> This should work as long as the pre block does not contain another pre block:
>
> $ awk 'BEGIN {RS="\a"; FS="pre>"} { print "<pre>" $2 "pre>" }' input.html
>
> The record separator (RS) should be some character that is not in the
> file (above I use the audible bell).
That works quite well.
--
Kind regards,
Jonathan
_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/