On 2012-10-13, at 22:10, Stefan Marr <smallt...@stefan-marr.de> wrote: > On 13 Oct 2012, at 20:44, Camillo Bruni wrote: > >> how hard would it be to change the image file to include a shebang on the >> first line? >> >> for instance: >> >> #!/usr/bin/env pharo -headless >> >> like that images would serve as "almost" script files? >> I image something like everything until the first 0 or >> newline byte is ignored when loading the image... > > It is supported, see for instance: > http://marc.info/?l=squeak-vm-dev&m=124049248310307&w=2
awesome! strange that nobody promoted that so far... well I guess yet another of these hidden treasures ;)