Click here to get back home

How to draw a tree/graph of a web site?

 HomeNewsGroups | Search | About
 comp.lang.perl.misc    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How to draw a tree/graph of a web site? David Combs 09-11-2007
Get Chitika Premium
Posted by David Combs on September 11, 2007, 2:59 pm
Please log in for more thread options
>>
>> [snip]
>>
>> > if I print "$1\n",
>> > the file prints just fine. But, if I do something like print "$1 after
>> > \n", the whole output is messed up. If I print "before $1\n", nothing
>> > prints at all. If I print "before $1 after\n", only after prints.
>>
>> not really sure, but could be a rogue "\r" in $1,


> There
> is a rogue carriage return (0xd) in the string

> Is there something I can do to deal with this
> situation?


Repair the corrupted file:

perl -p -i -e 'tr/\r//d' bad_file


--
Tad McClellan SGML consulting
tadmc@augustmail.com Perl programming
Fort Worth, Texas

Similar ThreadsPosted
use perl to draw Venn Diagram April 27, 2008, 7:59 pm
DRaw a blank on combinging two arrays June 18, 2008, 3:16 pm
top menu on a site July 15, 2004, 12:46 am
Best Job Search Site... February 7, 2006, 12:12 am
New site: www.teodorfilimon.com April 9, 2006, 10:44 am
Transitioning Web Site February 25, 2007, 4:46 pm
I found this great little site. November 21, 2004, 12:33 pm
LWP:RobotUA site retrieval March 30, 2005, 11:04 am
Working in a secure site April 9, 2005, 3:44 pm
perl web site downloading November 11, 2005, 2:38 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap