which page?

https://pharo.fogbugz.com/f/cases/21407/should-update-curl-L-https-get-pharo-org-64-bash-to-have-the-L

On Sun, Feb 25, 2018 at 5:49 PM, K K Subbu <[email protected]> wrote:
> On Sunday 25 February 2018 09:54 PM, Bernhard Pieber wrote:
>>
>> Hi all,
>>
>> Here is the output:
>>    % Total    % Received % Xferd  Average Speed   Time    Time     Time
>> Current
>>                                   Dload  Upload   Total   Spent    Left
>> Speed
>> 100   237  100   237    0     0    899      0 --:--:-- --:--:-- --:--:--
>> 901
>> bash: line 1: syntax error near unexpected token `newline'
>> bash: line 1: `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">'
>>
>> "curl https://get.pharo.org/64/ | bash" does work, though. It is just that
>> in the documentation (https://get.pharo.org/64/) the link has no trailing
>> slash.
>
>
> The URL https://get.pharo.org/64 will return a 301 (Moved permanently)
> redirect reply. Unlike wget, curl will follow the redirect only if -L option
> is given, so
>
>     curl -L https://get.pharo.org/64 | bash
>
> will also work fine. The document needs to be updated to use -L option for
> curl.
>
> HTH .. Subbu
>

Reply via email to