This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Newline missing in csh
- From: Robert Klemme <shortcutter at googlemail dot com>
- To: cygwin <cygwin at cygwin dot com>
- Date: Tue, 17 Nov 2015 09:47:56 +0100
- Subject: Re: Newline missing in csh
- Authentication-results: sourceware.org; auth=none
- References: <91DCAC3CB99C724EB365BB64677FBE7B01BEBA at MX204CL04 dot corp dot emc dot com> <705785256 dot 20151117042822 at yandex dot ru>
On Tue, Nov 17, 2015 at 2:28 AM, Andrey Repin <anrdaemon@yandex.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