BTW, my wget version is 1.8.2. Thanks!
--- wei ye <[EMAIL PROTECTED]> wrote: > > I'm trying to crawl url with --include-directories='/r/' > parameter. > > I expect to crawl '/r/*', but wget gives me '/r*'. > > By reading the code, it turns out that cmd_directory_vector() > removed the trailing '/' of include-directories '/r/'. > > It's a minor bug, but I hope it could be fix in next version. > > Thanks! > > static int cmd_directory_vector(...) { > ... > if (len > 1) > { > if ((*t)[len - 1] == '/') > (*t)[len - 1] = '\0'; > } > ... > > } > > ===== > Wei Ye > > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > ===== Wei Ye __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com