[plt-scheme] Is this possible with at-exp ?

From: Jaime Vargas (jev at mac.com)
Date: Thu Jun 25 14:23:41 EDT 2009

I would like to use the at-exp reader when coding system calls. Is  
there a form with similar behavior to @op[args] that transform every  
argument into a string?

@system*[/usr/bin/ssh -o BatchMode=yes
                       -o LogLevel=ERROR
                       -o StrictHostKeyChecking=no
                       -- @host @commands]

produces

(system* /usr/bin/ssh -o BatchMode=yes -o LogLevel=ERROR -o  
StrictHostKeyChecking=no -- host commands)

but I need

(system* "/usr/bin/ssh" "-o" "BacthMode=yes" "-o" "LogLevel=ERROR" "- 
o" "StrictHostKeyChecking=no" "--" host commands)

Thanks,

Jaime


Posted on the users mailing list.