[announce] Bugfix and feature release: skalibs, execline, s6, s6-networking

2015-01-26 Thread Laurent Bercot
Hello, Here's a nice release with a few bugfixes, and some new features. * skalibs-2.2.1.0 --- A couple minor bugfixes. New functions sig_name() and sig_number() for signal name/number conversion. New structure unixconnection_t for easier unixmessage sender/receiver manageme

Re: Feature requests for execline & s6

2015-01-26 Thread Laurent Bercot
On 27/01/2015 00:50, Olivier Brunel wrote: I see... so you're thinking e.g. a control directive to set the maximum amount of time the action can be triggered per minute or something? Something like that. I haven't given it any thought yet - atm I'm busy polishing up the fd-holding system, whic

Re: Feature requests for execline & s6

2015-01-26 Thread Olivier Brunel
On 01/27/15 00:12, Laurent Bercot wrote: > On 26/01/2015 23:52, Olivier Brunel wrote: >> That looks good, except that I need a default value, in case the file >> doesn't exist. If there's a way to work a default value in that case >> then that'd be fine, yes. >> ...is there a way to add a default v

Re: Feature requests for execline & s6

2015-01-26 Thread Laurent Bercot
On 26/01/2015 23:52, Olivier Brunel wrote: That looks good, except that I need a default value, in case the file doesn't exist. If there's a way to work a default value in that case then that'd be fine, yes. ...is there a way to add a default value if FILE doesn't exist? I will add a "-D defau

Re: Feature requests for execline & s6

2015-01-26 Thread Olivier Brunel
On 01/26/15 23:18, Laurent Bercot wrote: > >> - execline: I'd like the addition of a new command, e.g. readvar, that >> would allow to read the content/first line of a file into a variable. >> IOW, something similar to importas (including an optional default >> value), only instead of specifying a

Re: Feature requests for execline & s6

2015-01-26 Thread Laurent Bercot
- execline: I'd like the addition of a new command, e.g. readvar, that would allow to read the content/first line of a file into a variable. IOW, something similar to importas (including an optional default value), only instead of specifying an environment variable one would give a file name to

Feature requests for execline & s6

2015-01-26 Thread Olivier Brunel
Hi Laurent, A couple things I'd like to ask, on different tools : - execline: I'd like the addition of a new command, e.g. readvar, that would allow to read the content/first line of a file into a variable. IOW, something similar to importas (including an optional default value), only instead of