Le jeudi 10 janvier 2008 à 10:59 -0800, consul a écrit : > "Avi Kivity" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Johannes Schindelin wrote: > >> Hi, > >> > >> On Thu, 10 Jan 2008, Laurent Vivier wrote: > >> > >> > >>> Perhaps the best solution is to put "file=" option at the end of > >>> aliases, '\0' is marking the end of filename (it is likely the idea of > >>> andrzej about special characters). > >>> > >> > >> Oh, why not just make it a requirement that file= comes last, always? > >> > >> > > > > That's hardly intuitive. I would prefer some sort of escaping for \, and > > \=. It will also break if/when -drive gains another filename argument > > (say, for keeping shapshot data in). > > > > -- > > error compiling committee.c: too many arguments to function > > > > > > > > > > Why not use double quotes around parameter values containing special > characters?
It is currently what it is implemented. If you use double quote, you must an escape character to be able to have double-quote inside, for instance: file="my\"file". And backslash has some problems with windows... Laurent -- ----------------- [EMAIL PROTECTED] ------------------ "La perfection est atteinte non quand il ne reste rien à ajouter mais quand il ne reste rien à enlever." Saint Exupéry
signature.asc
Description: Ceci est une partie de message numériquement signée