Hi Ricardo! > --8<---------------cut here---------------start------------->8--- > (substitute* "hw-probe.pl" > (("Cmd\\(\"([^\"]+)" _ command) > (string-append "Cmd(\"" (which command)))) > --8<---------------cut here---------------end--------------->8--- Thanks for the snippet and explanation. I am wondering these, [1] Does require import of specific modules? [2] If `(which command)`'s output is empty, will it return #f? Regards, RG.