Binand Sethumadhavan wrote:


It also won't work in a directory layout like this:

.
./foo.html
./morehtmlfiles
./morehtmlfiles/a.html
./morehtmlfiles/b.html
./morehtmlfiles/c.html
...


A quick and dirty modification to the command as below must handle the above case:
( for i in `find . -type f | grep "\.html$"`; do ./href.pl < $i; done ) > url_list.txt


Then again, all this with the assumption that the relevant files end with .html . This solution isn't bullet-proof either.

Cheers,
Chandrashekar Babu



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to