[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Reminder: $EDITOR with spaces?

From: Mark Benedetto King <bking_at_answerfriend.com>
Date: 2002-04-29 18:48:22 CEST

On Mon, Apr 29, 2002 at 03:26:54AM -0400, Tim Waugh wrote:
> Isn't it enough to pass "$EDITOR" to the shell and get _it_ to expand
> it? Like:
>
> execl("/bin/sh","sh","-c","$EDITOR",0);
>
> Tim.
> */

It doesn't really matter who expands it; the problem is that the
semantics of the above are significantly different from

 execl($EDITOR,"svn-editor",0);

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 29 18:52:08 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.