Re: cmdline_file_save accepts file handler instead

Lorenzo Bettini <[email protected]> Sat, 27 Oct 2007 18:03:26 +0200
Newsgroups gmane.comp.gnu.gengetopt.general
Message-ID <[email protected]>
Gyozo Papp wrote:
> HIi there,
> 
>>> So I'll probably come up with a new patch soon which accepts these lines but does not break the compatibility much with older versions.
>> I was only concerned about the behavior of "
> 
> Yes, I caught it at first time.
> 
> However in the meanwhile I was trying to recall my memories and
> looking through some sample configs, then finally summarized my
> experiences...
> 
>> However, are you saying that we can still use " to enclose multi word
>> arguments, and let these words contain ' without escaping?
> 
> Yes, but I want multi word arguments can be unqouted, too.
> eg.:
> option = good value
> option = good'n better values # comment
> option = "bad value
> option =  still"bad value
> 

that would be a very nice compromise: this way " is still use to 
(optionally) enclose arguments, and if " is part of the argument it 
should be escaped.  While ' can be used as it is (which is what you 
need, I seem to understand).

cheers
	Lorenzo

-- 
Lorenzo Bettini, PhD in Computer Science, DSI, Univ. di Firenze
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net