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

Re: [PATCH] Repository root relative support for the command-line client

From: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: Tue, 29 Apr 2008 11:33:38 -0500

On Tue, Apr 29, 2008 at 11:23 AM, Karl Fogel <kfogel_at_red-bean.com> wrote:
> "Bert Huijben" <bert_at_qqmail.nl> writes:
> >> So in zsh with 'setopt extendedglob' enabled, there's a problem, but
> >> nowhere else do we know of a problem. Is that a correct summary?
> >
> > cmd.exe (The default command prompt on Windows NT and newer) uses ^ as
> > escape for the following character (As was noted in one of the early notes
> > on using this syntax)
> >
> > In most cases one has to double the ^ to pass the ^ itself to the called
> > program (When the ^ is passed in a quoted argument the ^ is passed directly)
> All right, so:
> * PROBLEM: zsh with 'setopt extendedglob' enabled
> ANSWER: quote it in single quotes ('^')
> * PROBLEM: cmd.exe
> ANSWER: double it
> Any others?
> I'm assuming we considered other possibilities and decided "^" was still
> the best character available. If so, then we just need to document the
> above and live with it.
> -Karl

Yeah it was concluded that all the proposed characters would be
special in some shell or another. '^' is special in a minority of
shells. cmd.exe is pretty common but it was thought that most usage
on that platform would be through other interfaces. Also a big plus
was that it was consistent with the relative externals support.


"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-29 18:34:01 CEST

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.