delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/24/12:50:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 24 Sep 2004 12:47:07 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Is regtool -K option broken?
In-Reply-To: <20040924083614.GT12802@cygbert.vinschen.de>
Message-ID: <Pine.GSO.4.61.0409241234140.880@slinky.cs.nyu.edu>
References: <20040924051910 DOT 5DA4884C3C AT pessard DOT research DOT canon DOT com DOT au> <20040924083614 DOT GT12802 AT cygbert DOT vinschen DOT de>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Fri, 24 Sep 2004, Corinna Vinschen wrote:

> On Sep 24 15:19, luke DOT kendall AT XXXXX DOT XXXXX DOT XXX DOT XX wrote:

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>, now with more reasons.

> > I tried using regtool's option to use a different key separator, but it
> > doesn't seem to work.  Am I doing something wrong?
> >
> > $ regtool  --key-separator='|' list |HKLM
> > Unknown key prefix.  Valid prefixes are:
> > [...]
>
> $ regtool --help
> [...]
> Options for 'set' and 'unset' Actions:
>  -K<c>, --key-separator[=]<c>  set key separator to <c> instead of '\'
> [...]

Should this perhaps be

Options for 'set', 'unset', and 'get' Actions:
 -K<c>, --key-separator[=]<c>  set key-value separator to <c> instead of '\'

instead?  FWIW, it should also work with 'get' (even if the help doesn't
currently mention that).

Just for the archives, this is to allow values with '\' or '/' in them,
e.g.,

-- *** DO NOT RUN THE BELOW, IT'S JUST AN EXAMPLE *** --
regtool -K'|' set '/HKLM/HARDWARE/DEVICEMAP/PARALLEL PORTS|\Device\Parallel0' '\DosDevices\LPT1'
-- *** DO NOT RUN THE ABOVE, IT'S JUST AN EXAMPLE *** --

Hope this clarifies matters.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019