Re: Shell-escape a string

2015-03-08 Thread neil
...@roadrunner.com Cc: guile-user@gnu.org Subject: Re: Shell-escape a string Mark A. Hershberger writes: dsm...@roadrunner.com writes: How about using system* instead and pass your arguments directly instead of letting a shell (mis)interpret them? Thanks for pointing this out. It looks like

Re: Shell-escape a string

2015-03-07 Thread Mark A. Hershberger
Mark A. Hershberger writes: dsm...@roadrunner.com writes: How about using system* instead and pass your arguments directly instead of letting a shell (mis)interpret them? Thanks for pointing this out. It looks like the right solution. Actually, upon reflection, I think I need to use

Re: Shell-escape a string

2015-03-07 Thread Mark A. Hershberger
dsm...@roadrunner.com writes: How about using system* instead and pass your arguments directly instead of letting a shell (mis)interpret them? Thanks for pointing this out. It looks like the right solution. -- Mark A. Hershberger NicheWork LLC 717-271-1084

Re: Shell-escape a string

2015-03-07 Thread Taylan Ulrich Bayırlı/Kammer
Mark A. Hershberger m...@nichework.com writes: 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)

Re: Shell-escape a string

2015-03-06 Thread dsmich
Mark A. Hershberger m...@nichework.com 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

Shell-escape a string

2015-03-06 Thread Mark A. Hershberger
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