bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] [bug #51181] Unexpected "Redirecting output to 'wget-log'."


From: Peter Wu
Subject: [Bug-wget] [bug #51181] Unexpected "Redirecting output to 'wget-log'."
Date: Sat, 16 Jun 2018 13:34:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #9, bug #51181 (project wget):

"&" is a special shell character which causes a program to go to the
background. When you execute

    wget https://example.com/dpp&key

it will actually be interpreted as:

    wget https://example.com/dpp &
    key

which will execute "wget https://example.com/foo"; to download that URL in the
background (due to "&"). After that it will execute the command "key" (which
it cannot find in your case).

To have the intended effect of downloading that particular URL, quote your URL
instead such that the special shell characters are not intepreted:

    wget "https://example.com/dpp&key";

See also https://www.tldp.org/LDP/abs/html/quoting.html

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51181>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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