I got to know what's going on.

My urllist file was coming from Windows, so the line breaks are /r/n

However, when "parallel" read each line in urllist, the /n was striped, but
/r was kept. In the end, the argument lists for each wget becomes, "wget
url1\r url2\r url3\r"

I don't know whether it's a bug, but I use dos2unix to preprocess each list.

Thanks for your attention.


On Mon, Mar 10, 2014 at 3:07 PM, Ole Tange <o...@tange.dk> wrote:

> I do not understand what is not working. Can you provide an example
> showing the problem?
>
> /Ole
>
> On Mon, Mar 10, 2014 at 4:46 PM, Raingo Lee <raing...@gmail.com> wrote:
> > I am using parallel + wget to download a list of urls.
> >
> > I would like to append multiple urls at the end of wget for each wget
> > process.
> >
> > parallel will append a 'carriage return' after each argument, so all urls
> > are appended with a %0D by wget.
> >
> > Is there are anyway to get around this?
> >
> > Thanks,
>

Reply via email to