bug-bash
[Top][All Lists]
Advanced

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

Re: r.f.e.


From: Charles Daffern
Subject: Re: r.f.e.
Date: Fri, 4 Mar 2016 00:36:44 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

On 03/03/16 23:00, Jude DaShiell wrote:
> This would have been cleaner had bash been able to wait until a
> command it was given had finished execution before doing its next
> command:
Bash does that. However, you are passing wget the "--background" option,
which explicitly works around this behaviour.
> wget --background --continue --trust-server-names --max-redirect=10000
> --tries=0 --input-file="sonar.dat"
If you remove "--background" from that line, you will get the expected
behaviour.

On another note, you can pass the list of downloads without a temporary
file:

{
  echo http://example.com
  echo http://test.com
} | wget --input-file=-


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]