"Mark A. Hershberger" wrote:
>
> Is there a piece of standard code or a library that I can use to escape
> a string so it is safe to pass to bash?
>
> Specifically, I have submitted this bit[1] to add deletion of duplicate
> messages to a guile script included with mu (maildir utils) and
On Fri, Mar 6, 2015 at 4:54 PM, Panicz Maciej Godek
wrote:
> I think that the following code (without additional syntax transformers)
> should work for you:
>
> (define (key->value meta key)
> (match meta
> (() '())
> ? (lambda(x) (equal? x key))) value) rest ...)
> value)
>
2015-03-06 15:51 GMT+01:00 Federico Beffa :
> Hi,
>
> I'm writing to ask for help in understanding syntax
> transformers. Specifically, I'm trying to construct a function of the
> following form
>
> (define (key->value meta)
> (match meta
> (() '())
> "name") value) rest ...)
>
Is there a piece of standard code or a library that I can use to escape
a string so it is safe to pass to bash?
Specifically, I have submitted this bit[1] to add deletion of duplicate
messages to a guile script included with mu (maildir utils) and now
we're looking at how to escape the file names
Hi,
I'm writing to ask for help in understanding syntax
transformers. Specifically, I'm trying to construct a function of the
following form
(define (key->value meta)
(match meta
(() '())
"name") value) rest ...)
value)
(((k value) rest ...)
(key->value (cdr meta)))