[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CVS webwml/english/News/weekly



* Martin Schulze 

| Debian CVS tfheen wrote:
|
| >  open (IN, "lynx -dump $url |");
| > +if ($url =~ m,\d\d\d\d/\d\d?/,) {
| > +     # This is a local URL - fix the output
| > +     $url =~ s,^\./,http://www.debian.org/News/weekly/,;
| > +     $url =~ s/index\.\w\w\.html$/index.html/;
| > +}
| > +
| >  while (<IN>) {
| >  	# We exit this loop once we hit the first divider bar,
| >  	# which indicates the end of the newsletter proper.
| 
| Can this be removed again since it is useless?  lynx won't output
| urls with a ./ part, but instead use file://where/the/file/is... 
| I've fixed the later part already.

It is used for fixing up the header, not lynx' link output.

-- 

Tollef Fog Heen
You Can't Win



Reply to: