Re: Creating argv for execvp

2004-07-21 Thread Angus Leeming
Lars Gullik BjÃnnes wrote: > | The problem here is that writing any parser that isn't lame > | is hard. Spirit certainly has a steep learning curve but > | once you've climbed it, it's fantastic. > so they say > | Should I persue this further or just drop it? > I don't have anyting in particula

Re: Creating argv for execvp

2004-07-21 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | The problem here is that writing any parser that isn't lame is *hard*. | Spirit certainly has a steep learning curve but once you've climbed it, | it's fantastic. so they say | Should I persue this further or just drop it? I don't have anyting in part

Re: Creating argv for execvp

2004-07-21 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | Conclusion: I think that this function could be slotted into the code > | base as-is, but I guess that will require some input from Lars... > > And you are saying I make it hard for newcomers with my usage of boost > li

Re: Creating argv for execvp

2004-07-21 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Conclusion: I think that this function could be slotted into the code base | as-is, but I guess that will require some input from Lars... And you are saying I make it hard for newcomers with my usage of boost libs. :-) They have not met you! --

Re: Creating argv for execvp

2004-07-21 Thread Angus Leeming
Angus Leeming wrote: > Hm. Looks like I'm using a sledgehammer to crack a nut. Guess I > should have first looked at the output from > #! /bin/sh > for arg in "$@" > do > echo "arg is '$arg'" > done Actually, I don't think I was. Essentially I'm

Re: Creating argv for execvp

2004-07-20 Thread Angus Leeming
Angus Leeming wrote: > The use case itself (date) is probably exotic, but we use this code to > also parse the commands of the converters so we really should address > this bug. > > Attached is a test code that generates the correct vector from > a string input. Typical use: > $ ./trial "date '+%B

Creating argv for execvp

2004-07-20 Thread Angus Leeming
We've recently had a report on the users' list http://article.gmane.org/gmane.editors.lyx.general/17087 about a failure to use the Date template of the external inset to produce output equivalent to: date '+%B %d, %Y' (which comes out as "July 20, 2004" btw). The problem boils dow