On Sun, Apr 16, 2017 at 03:57:03PM +, Laurent Bercot wrote:
> > Quick question: what happened to execline-start and execline-shell?
> > They're
> > still referenced on the execline index page on skarnet.org but they
> > haven't
> > been distributed with execline since before 2.0.0.0 (that's as
Lots of examples would be very helpful! It's way easier to get started
with examples.
Vincent
On Sun, Apr 16, 2017 at 5:57 PM, Laurent Bercot wrote:
>> Quick question: what happened to execline-start and execline-shell?
>> They're
>> still referenced on the execline
Quick question: what happened to execline-start and execline-shell?
They're
still referenced on the execline index page on skarnet.org but they
haven't
been distributed with execline since before 2.0.0.0 (that's as far as
the git
history goes, but older versions can still be downloaded from
Great! Thanks!
This is now my main shell!
On Sun, Apr 16, 2017 at 10:37 AM, Laurent Bercot
wrote:
>> What I am trying to write, is a minimal interpreter read-eval loop,
>> which gets its $INPUT from /dev/tty.
>
>
> How about this?
>
> redirfd -r 0 /dev/tty
> forstdin
What I am trying to write, is a minimal interpreter read-eval loop,
which gets its $INPUT from /dev/tty.
How about this?
redirfd -r 0 /dev/tty
forstdin -d"\n" LINE
importas -u LINE LINE
execlineb -c $LINE
--
Laurent
Maybe this is more a shell question.
But with the exception of http://wiki.tcl.tk/15088
I could not find barely any examples:
This works:
#!/bin/execlineb
define INPUT "ls"
execlineb -c $INPUT
What I am trying to write, is a minimal interpreter read-eval loop,
which gets its $INPUT from
Thank you!
Didn't notice withstdinas.
On Sun, Apr 16, 2017 at 1:47 AM, Laurent Bercot wrote:
>> because read is builtin to sh.
>> Is there a solution as simple as the above?
>
>
> Try the "forstdin" or "withstdinas" commands.
>
> --
> Laurent
>