Re: How to write an execline helper in execline?

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Sun, 16 Oct 2016 14:56:14 +0000

>So, please enlighten me if I'm missing a better solution, of course,
>but in case I'm not, I was wondering how you'd feel about adding a new
>option to execlineb, e.g. -s, that would require a number as arg (much
>like -S) but would work as such:
  Still considering your -s idea, which should be easy enough to
implement once I remember how execlineb does things :) but in the
meantime, wouldn't the "runblock" command help you? Something like

#!/command/execlineb
importas FIRSTARG 1
# work with $FIRSTARG
runblock -n 1 -r -- 0

--
  Laurent
Received on Sun Oct 16 2016 - 14:56:14 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC