Newline missing in csh

Robert Klemme shortcutter@googlemail.com
Tue Nov 17 08:48:00 GMT 2015


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



More information about the Cygwin mailing list