Re: execline globbing

2018-07-24 Thread Laurent Bercot
That brings me to another question: is there a collection of more execline utilities somewhere? I suspect the standard GNU coreutils are not quite to your liking in a lot of cases. The execline package has all the execline-specific utilities you need to perform execline scripting (although if y

Re: execline globbing

2018-07-24 Thread Profpatsch
Laurent Bercot writes: > Your next door "echo" command will do just that (or s6-echo > if you risk having dashes and want reliable behaviour in all cases). That brings me to another question: is there a collection of more execline utilities somewhere? I suspect the standard GNU coreutils are

Re: execline globbing

2018-07-24 Thread Laurent Bercot
elglob -0 fs somedir/* if { test -n $fs } ln -t otherdir $fs the test will fail if there’s more than one file in `somedir`. Is there a way to put a split variable into one variable again? Your next door "echo" command will do just that (or s6-echo if you risk having dashes and want reliable be

execline globbing

2018-07-24 Thread Profpatsch
When I have a glob like: elglob -0 fs somedir/* if { test -n $fs } ln -t otherdir $fs the test will fail if there’s more than one file in `somedir`. Is there a way to put a split variable into one variable again? It feels kind of clumsy to use elglob, especially because of the default verbatim i