Hi,

On Sun, 22 Apr 2018 09:40:54 +1000
David Margerison <del...@electrosonics.com.au> wrote:
> >  "$@" is extracted as '' and wget tries to fetch it and fails,
> >  then returns 1.
> 
> Regarding the proposed fix, in general using $@ without quotes is fragile.

 Most of the case, quotes is better. But in this case, "$@" is extracted like
>> wget '' '' '' https://deb.debian.org/debian/dist/unstable/InRelease
 Then, it outputs
>>    http://: Invalid host name.
>>    http://: Invalid host name.
>>    http://: Invalid host name.
 and returns 1.


-- 
Hideki Yamane <henr...@iijmio-mail.jp>

Reply via email to