I found the transcript output from a few days ago when I did it - it was the
following (which shows that initial error on the eval example)
macta$ curl get.pharo.org | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 12445 100 12445 0 0 235k 0 --:--:-- --:--:-- --:--:-- 238k
Downloading the latest 50 Image:
http://files.pharo.org/get-files/50/pharo.zip
Pharo.image
Downloading the latest pharoVM:
http://files.pharo.org/get-files/50/pharo-mac-stable.zip
pharo-vm/Pharo.app/Contents/MacOS/Pharo
Downloading PharoV50.sources:
http://files.pharo.org/get-files/50/sources.zip
Creating starter scripts pharo and pharo-ui
macta$ ./pharo Pharo.image eval "Stdio stdout << 'Hello,World!'"
-bash: !'": event not found
When I then try the print version I also get the same message with that same
initial setup that I downloaded?
macta$ ./pharo Pharo.image printVersion
'No change'
[version] 5.0 #50764
Tim
> On 30 Nov 2016, at 16:14, Sven Van Caekenberghe <[email protected]> wrote:
>
> Tim,
>
>> On 30 Nov 2016, at 11:26, Tim Mackinnon <[email protected]> wrote:
>>
>> I just tried the new example on the website (factorial is a great example
>> from the command line - I like it).
>>
>> The output is:
>>
>> $ ./pharo Pharo.image eval "42 factorial"
>> 'No change'
>> 1405006117752879898543142606244511569936384000000000
>> $
>>
>> Out of curiosity, What is the ‘No Change’ message above the answer?
>
> What version are you using, I just tried (on macOS 10.12.1), in a terminal:
>
> prometheus:pharo6 sven$ curl get.pharo.org/60+vm | bash
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 2901 100 2901 0 0 2565 0 0:00:01 0:00:01 --:--:-- 2571
> Downloading the latest 60 Image:
> http://files.pharo.org/get-files/60/pharo.zip
> Pharo.image
> Downloading the latest pharoVM:
> http://files.pharo.org/get-files/60/pharo-mac-stable.zip
> pharo-vm/Pharo.app/Contents/MacOS/Pharo
> Downloading PharoV60.sources:
> http://files.pharo.org/get-files/60/sources.zip
> Creating starter scripts pharo and pharo-ui
>
> prometheus:pharo6 sven$ ./pharo Pharo.image printVersion
> [version] 6.0 #60311
>
> prometheus:pharo6 sven$ ./pharo Pharo.image eval '42 factorial'
> 1405006117752879898543142606244511569936384000000000
>
> Works like a charm. I assume it works on Linux too.
>
> HTH,
>
> Sven
>
>> Tim
>>
>>> On 29 Nov 2016, at 08:41, Esteban Lorenzano <[email protected]> wrote:
>>>
>>> yes, but no need… I already fixed it :)
>>>
>>>> On 29 Nov 2016, at 09:29, [email protected] wrote:
>>>>
>>>> Report them on pharo.fogbugz.com
>>>>
>>>> http://pharo.org/contribute-report-bug
>>>>
>>>> Use Project: Websites as the reference.
>>>>
>>>> Phil
>>>>
>>>> On Tue, Nov 29, 2016 at 12:57 AM, Tim Mackinnon <[email protected]> wrote:
>>>> Hi Guys - how is the best way to report website and text bugs?
>>>>
>>>> As I know the English is not always a first language (and you guys are
>>>> busy writing code anyway) - its up to us native English speakers to chip
>>>> in where we can.
>>>>
>>>> I was pleased to get the notice that on OSX Sierra I need to do something
>>>> extra to get Pharo to work, however the text could be slightly corrected
>>>> eg. (Bolded words changed)
>>>>
>>>> Are you using macOS Sierra?
>>>> Due to changes in security policies of macOS, you will need to put the VM
>>>> in the /Applications folder.
>>>> We are working to fix this temporary inconvenience.
>>>>
>>>>
>>>> Also - the Hello world command line example on the front page doesn’t work
>>>> on a standard Terminal on a Mac (you get an error:
>>>>
>>>> $ ./pharo Pharo.image eval "Stdio stdout << 'Hello,World!'"
>>>> -bash: !'": event not found
>>>>
>>>> The culprit is of course the “!” Character so a better example might be:
>>>>
>>>> $ ./pharo Pharo.image eval "Stdio stdout << 'Hello World'"
>>>> Hello WorldStdioStream: 'stdout'
>>>>
>>>> Although, in this case, is it expected that the return string is merged
>>>> with some other output text (e.g. the StdioStream:….?). I think its an
>>>> impressive example, but it just doesn’t quite look right?
>>>>
>>>>
>>>> Tim
>>>>
>>>
>>
>
>