delorie.com/archives/browse.cgi | search |
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: | Tue, 21 Sep 2004 17:28:22 +1000 (EST) |
From: | luke DOT kendall AT cisra DOT canon DOT com DOT au |
Subject: | regtool quoting variations on output |
To: | cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
Message-Id: | <20040921072822.9600784CCD@pessard.research.canon.com.au> |
A script broke today because regtool reported a key's value with extra double quotes around it. I also observed that whether or not a path was reported with a trailing "\" varied from one machine to the other. Both were using regtool ver 1.8. "stout" is Windows XP, "percy" is Windows 2000. luke AT STOUT /cygdrive/x/cygnus/cisra $ regtool -q get "\\HKLM\\SOFTWARE\\Microsoft\\Office\\10.0\\Word\\InstallRoot\ \Path" C:\Program Files\Microsoft Office\Office10\ mdias AT PERCY ~ $ regtool -q get "\\HKLM\\SOFTWARE\\Microsoft\\Office\\8.0\\Word\\InstallRoot\\ Path" "C:\Program Files\Microsoft Office\Office" Visual inspection of the above key in regedit on percy (W2K) showed that its value had no double-quotes in the registry. Visual inspection on stout (WXP) also showed no double-quotes around the path (though it did have the trailing backslash, just as regtool reported). I can change my script to pipe the output from regtool through sed 's/^"//;s/"$//', but that seems like a kludge to me. Does anyone have any idea what might be going on here? luke -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |