[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Tilde expansion not carried out in file_cmd
From: |
Hrvoje Niksic |
Subject: |
Re: [Bug-wget] Tilde expansion not carried out in file_cmd |
Date: |
Thu, 14 Mar 2013 20:00:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
Darshit Shah <address@hidden> writes:
> When wget is passed a filename as a commandline parameter, tilde expansion
> is not carried out on it, though the function cmd_file clearly states that
> this should happen.
Tilde expansion happens in the parser before cmd_file is invoked,
similar to how the shells do it. See the function
setval_internal_tilde.
It would be wrong to do the expansion in cmd_file because then it would
be expanded even for command-line options, where its the shell's job to
do that. In fact, that would prevent you from accessing a directory
named "~" using Wget's command line.
- [Bug-wget] Tilde expansion not carried out in file_cmd, Darshit Shah, 2013/03/14
- Re: [Bug-wget] Tilde expansion not carried out in file_cmd,
Hrvoje Niksic <=
- Re: [Bug-wget] Tilde expansion not carried out in file_cmd, Darshit Shah, 2013/03/14
- Re: [Bug-wget] Tilde expansion not carried out in file_cmd, Micah Cowan, 2013/03/14
- Re: [Bug-wget] Tilde expansion not carried out in file_cmd, Ángel González, 2013/03/14
- Re: [Bug-wget] Tilde expansion not carried out in file_cmd, Pavel Kačer, 2013/03/14
- Re: [Bug-wget] Tilde expansion not carried out in file_cmd, Micah Cowan, 2013/03/15
- Re: [Bug-wget] Tilde expansion not carried out in file_cmd, Pavel Kačer, 2013/03/15