From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17318 invoked by alias); 17 Nov 2015 08:48:03 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 17236 invoked by uid 89); 17 Nov 2015 08:48:01 -0000 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 Received: from mail-lf0-f48.google.com (HELO mail-lf0-f48.google.com) (209.85.215.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 17 Nov 2015 08:48:00 +0000 Received: by lfdo63 with SMTP id o63so1187082lfd.2 for ; Tue, 17 Nov 2015 00:47:57 -0800 (PST) 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) Received: by 10.112.3.105 with HTTP; Tue, 17 Nov 2015 00:47:56 -0800 (PST) In-Reply-To: <705785256.20151117042822@yandex.ru> References: <91DCAC3CB99C724EB365BB64677FBE7B01BEBA@MX204CL04.corp.emc.com> <705785256.20151117042822@yandex.ru> Date: Tue, 17 Nov 2015 08:48:00 -0000 Message-ID: Subject: Re: Newline missing in csh From: Robert Klemme To: cygwin Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg00236.txt.bz2 On Tue, Nov 17, 2015 at 2:28 AM, Andrey Repin 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