bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] Stange behaviour


From: Jānis
Subject: Re: [Bug-wget] Stange behaviour
Date: Mon, 27 Jan 2014 21:31:16 +0200
User-agent: Internet Messaging Program (IMP) H5 (6.0.5)


Citēts Ángel González <address@hidden>
Mon, 27 Jan 2014 18:27:53 +0100:
..
Not a bug (and not wget's fault), albeit surprising for new users.
When you write *pdf* in a command line, your shell will expand it to
any files containing «pdf». You can view this behavior by executing
 echo *pdf*

So when you run
 wget -r -l1 -A *pdf* …

wget is really receiving a command like
  wget -r -l1 -A resume.pdf paper.pdf http://example.com

Till now i assumed that any string behind -A is treated like a mask
for the files to be retrieved from the remote server. I
absolutelyforgot about the shell

Thanks!

Janis

Attachment: binzw6vyTajqf.bin
Description: PGP publiskā atslēga


reply via email to

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