Laurent Bercot writes:
> Remember that once an execlineb script has been parsed, it's just a
> command line, no more, no less. So your example script can just be
> written as:
>
> #!execline
> define url example.com
> s6-tcpclient $url 80
> foreground { fdmove 1 7 echo -en "..." }
> fdmove 0 6 cat
>
> No second execlineb invocation necessary at all. No quoting
> nightmares.
Ooooooh, you are right!
It’s even more elegant than I thought!
Nice.
--
Written with Emacs (mu4e) on NixOS.
Q: Why is this email five sentences or less?
A: http://five.sentenc.es/
May take up to five days to read your message. If it’s urgent, call me.
Received on Thu Jun 07 2018 - 15:59:47 UTC