public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Robert Klemme <shortcutter@googlemail.com>
To: cygwin <cygwin@cygwin.com>
Subject: Re: Newline missing in csh
Date: Tue, 17 Nov 2015 08:48:00 -0000	[thread overview]
Message-ID: <CAM9pMnNntk0TsBozDm4pG0cfvssjQy77NudGfgOwkDYt1GXceg@mail.gmail.com> (raw)
In-Reply-To: <705785256.20151117042822@yandex.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

      reply	other threads:[~2015-11-17  8:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-16 17:44 Gluszczak, Glenn
2015-11-16 19:59 ` John Hein
2015-11-17  1:35 ` Andrey Repin
2015-11-17  8:48   ` Robert Klemme [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAM9pMnNntk0TsBozDm4pG0cfvssjQy77NudGfgOwkDYt1GXceg@mail.gmail.com \
    --to=shortcutter@googlemail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).