http://qs321.pair.com?node_id=137504


in reply to Re: representing a tree graphically...
in thread representing a tree graphically...

cat try.txt | perl -lane '$F[2] =~ s/:000//g; $F[2] =~ s/:/ -> /g; $F[ +2] .= ";"; print $F[2] if $F[2] =~ /->/' >> try.dot
If that had been posted to comp.unix.questions, I'd have given it a Useless Use of Cat Award.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Re: Re: representing a tree graphically...
by clemburg (Curate) on Jan 11, 2002 at 23:01 UTC

    I stand corrected.

    Christian Lemburg
    Brainbench MVP for Perl
    http://www.brainbench.com