[squeak-dev] [ANN] DoItFirst command line goodie on SqueakSource

stes@PANDORA.BE stes at telenet.be
Sun Dec 6 14:46:25 UTC 2020


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


Thanks for posting this interesting FibonacciTestScript.st.

First of all the script also uses FileStream stdout, and shows how
to use nextPutAll to write to stdout.  Also it shows how to time a block.

For me on Squeak VM 4.19.2 I get an error however from the first line:

bash-4.4$ head -1 FibonacciTestScript.st 
#!/usr/bin/squeak /home/pi/Squeak/TPR-Squeak5.3-18560.image

I think the error 'Invalid Character' in Squeak 4.6 is from the  #! line.

I ran the script as follows:

bash-4.4$ squeak -nodisplay squeak.image -- -evaluate 'Smalltalk version'
Squeak4.6

However I think I don't need the "DoItFirst" package, just to run the FibonacciTestScript, which is using FileStream stdout by itself :

bash-4.4$ squeak -nodisplay squeak.image FibonacciTestScript.st          

Anyway thanks for posting the script.

David Stes

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJfzO5kAAoJEAwpOKXMq1MaQNoIAL+iI6yVH3MtvG9zykLL4fOo
BOVG9wwNQYSSXUZisjtn01Z0OmF/heplEsf4PWzyJGxhMYalXRs/v6/P0LxN/iR8
Rbm2rBTaF1ItXWaUjBbicnoNSVKciOPUhHt3CwqUXyuKV3co8pMRkoHefL+6jej3
MB7a25XBTW6rHzJR+FqETBPgsi8qcCyz/XTOMFHxUg00LnU1m0+MLmw8IuvtJ42y
ENtiDK24kXRSFpFctFrSK0Isq6jUGHlIdiy1L9+S3u9v3V8R8Jhvne/x8a5JLMDZ
i7zrM6K4SFY5PLDAY5JqemabYuT3GO3C8s60iEoptptTUNeTf6q9RkJlJj1RCHU=
=nw27
-----END PGP SIGNATURE-----


More information about the Squeak-dev mailing list