| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:mime-version:in-reply-to:references:date | |
| :message-id:subject:from:to:content-type; q=dns; s=default; b=Ob | |
| CdaVerzemMkJV6Ye+Ci/DEZgK0YatKTqTSyEtfeZJQKuAgwGIoQRCW3AdSeJc7Jm | |
| qsmZ3uycpaR9aEtLB9CyI9n+FFWQ02EmZvDjTDK++U86v8shm2w77zP01yaZl0JE | |
| F2zum/zPdPJ93RnqyPP6jR4rvpkGxsLcDcVWvhtD8= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:mime-version:in-reply-to:references:date | |
| :message-id:subject:from:to:content-type; s=default; bh=NaK4+ogJ | |
| 4ouVdzCMLs9+VQIhDXk=; b=Mwpbm7+f1HUXP0XdIFOz+yxfndqIQLoYNXaB2GwW | |
| eVIzkrubSfnGjhwRZ3IyzJPv+U9FntBn1syLir+WW0SbwYy+COwi0Qrxwfq02N/u | |
| qyCyYjLHe1a+679OvOEvvBL8CcTB2hUI9YvPMl5DMdicmNHYFCl7q5BilTZ7leg3 | |
| pF8= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| 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 |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=0.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
| X-HELO: | mail-lf0-f48.google.com |
| MIME-Version: | 1.0 |
| X-Received: | by 10.25.163.131 with SMTP id m125mr19686421lfe.0.1447750077010; Tue, 17 Nov 2015 00:47:57 -0800 (PST) |
| In-Reply-To: | <705785256.20151117042822@yandex.ru> |
| References: | <91DCAC3CB99C724EB365BB64677FBE7B01BEBA AT MX204CL04 DOT corp DOT emc DOT com> <705785256 DOT 20151117042822 AT yandex DOT ru> |
| Date: | Tue, 17 Nov 2015 09:47:56 +0100 |
| Message-ID: | <CAM9pMnNntk0TsBozDm4pG0cfvssjQy77NudGfgOwkDYt1GXceg@mail.gmail.com> |
| Subject: | Re: Newline missing in csh |
| From: | Robert Klemme <shortcutter AT googlemail DOT com> |
| To: | cygwin <cygwin AT cygwin DOT com> |
| X-IsSubscribed: | yes |
On Tue, Nov 17, 2015 at 2:28 AM, Andrey Repin <anrdaemon AT yandex DOT ru> wrote:
>
> Greetings, Gluszczak, Glenn!
>
> > cat "/proc/registry/HKEY_CURRENT_USER/Control
> > Panel/International/sLanguage" works fine in bash
> > but if I switch to csh I fail to get a newline when reading the registry.
>
> > $ cat -v "/proc/registry/HKEY_CURRENT_USER/Control Panel/International/sLanguage"
> > ENU^@
> > $ csh
> > $ cat -v "/proc/registry/HKEY_CURRENT_USER/Control Panel/International/sLanguage"
> > ENU^@$
>
> cat -v "/proc/registry/HKEY_CURRENT_USER/Control Panel/International/sLanguage" | od -t x1
I'd rather do this to get the real contents (and not have cat -v add something):
od -t x1c "/proc/registry/HKEY_CURRENT_USER/Control
Panel/International/sLanguage"
Kind regards
robert
--
[guy, jim, charlie].each {|him| remember.him do |as, often| as.you_can
- without end}
http://blog.rubybestpractices.com/
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |