Re: execline

2018-04-10 Thread Roy Lanek
> My idea
AWESOME, love it. Have already begun to write scripts with
CHICKEN, WOLOG (shebang-csi, for chicken-scheme interpreter,
can't notice the difference from an average ksh script so far,
except in elegance, Scheme oblige) going to try Chez. 

/Roy
-- 
5   anjing menggonggong, kafilah tetap berlalu
5 . 5 l 4 c K W 4 r 3  55   the dogs are barking, the caravan moves on
5 + L1NuX  55   [illustrates useless protest, critic, or
5   sarcasm]


Re: execline

2018-04-06 Thread Roy Lanek
>  It's a bit late now for April Fools jokes, don't you think ?

I think that U are borrowing from the words I have emailed to U
on the subject of execline-2.4.0.0.

/Roy
-- 
5
5 . 5 l 4 c K W 4 r 3  55   dimana ada kemauan, di situ ada jalan
5 + L1NuX  55   where there is a will, there is a way
5


execline

2018-04-06 Thread Roy Lanek
Better idea of an improvement: express execline as a Scheme
library to be used via Chicken Scheme-to-C translator,
Chibi-Scheme, and similar, which should be easy to do. Maintain
bug-fixes for old execline. New implicit-execline successor
becomes plain Scheme.

Cheers,

/Roy
-- 
5   tak ada gading yang tak retak
5 . 5 l 4 c K W 4 r 3  55   there are no ivory that is not cracked
5 + L1NuX  55 [nothing is perfect in this world]
5


Problems w/ last s6-log

2015-02-17 Thread Roy Lanek
The following worked up to s6-2.1.0.1:

...
/command/export PATH /command:/etc...

multisubstitute {
define LOGS /var/log/s6/socklog-klog

define IDX  \[[0-9]+\]
define SID  SID[0-9]+
define LBL  \[[[:space:]]*[0-9]+\.[0-9]+\]

define KRN_ANY  kern\.[[:alnum:]]+
}

define SIG_ID   ${IDX}[[:space:]]${SID}


s6-setuidgid log
s6-log -bt
n5 s100 - +^${KRN_ANY}:[[:space:]]${LBL}[[:space:]]ACPI: ${LOGS}/acpid
n5 s100 - +^kern\.warn:[[:space:]]${SIG_ID}[[:space:]]   ${LOGS}/fw
n5 s100 - +^kern\.warn:[[:space:]]${LBL}[[:space:]]IN=   ${LOGS}/aif
n5 s100 - f

Now, never mind of '-bt' which is solved w/

s6-log -b
n5 s100 t ... etc.

The problem is w/ the regular express. W/ s6-2.1.1.0 s6-log tells me that '-'
is an unrecognized action and that it's a fatal error. I am unable to fix it:
what I am doing wrong/misunderstanding?

Cheers,

/Roy
-- 
5   anjing menggonggong, kafilah tetap berlalu
5 . 5 l 4 c K W 4 r 3  55   the dogs are barking, the caravan moves on
5 + L1NuX  55   [illustrates useless protest, critic, or
5   sarcasm]