Re: [dev] [st] Fixed -e with support for spaces

From: Joseph Xu <>
Date: Sun, 28 Nov 2010 16:20:21 -0500

On 11/28/2010 06:22 AM, Aurélien Aptel wrote:
> On Sat, Nov 27, 2010 at 12:35 AM, Joseph Xu <> wrote:
>> came up with. It relies on the shell that executes st to parse the
>> arguments, so you can't run a command like st -e "touch arst", you have
>> to run st -e touch arst. This also means you can't have any st arguments
>> after the -e because they'll all be included in the command to run.
> This breaks argument parsing. Why would you want to do that?
> Josh's solution is better imo. I've pushed (a slight variation of) it to tip.

Not sure what you mean by breaking argument parsing. I think it's the
simplest way to parse a command with complex quoted arguments correctly
without having to run an extra shell process.
Received on Sun Nov 28 2010 - 22:20:21 CET

This archive was generated by hypermail 2.2.0 : Sun Nov 28 2010 - 22:24:02 CET