Read-eval loop with prompt + user input
Hannes Hirzel
hirzel at spw.unizh.ch
Thu Mar 14 09:07:41 UTC 2002
On 14 Mar 2002, Martin Drautzburg wrote:
> Is there a way to write a read-eval loop, so I get some sort of
> commandline shell without any need for the mouse ? I mean something
> like (in bash)
>
> while true
> do
> echo -n "prompt> "
> read command
> eval $command
> done
>
>
>
Look at
http://minnow.cc.gatech.edu/squeak/CommandShell
HJH
More information about the Squeak-dev
mailing list
|