delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/31/19:40:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=3.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT
X-Spam-Check-By: sourceware.org
Date: Tue, 1 Jun 2010 03:35:05 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <756769733.20100601033505@mtu-net.ru>
To: "DEWI - N. Zacharias" <N DOT Zacharias AT dewi DOT de>, cygwin AT cygwin DOT com
Subject: Re: AW: [bulk] - Re: Reading /proc/registry/... returns extra char
In-Reply-To: <8CCC8F85C5F2784387A32FAD835FB4E602DD771961@server03>
References: <20100513181249 DOT GE13784 AT cupro DOT opengvs DOT com> <2BF01EB27B56CC478AD6E5A0A28931F2F01D44 AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> <20100526114733 DOT GG10652 AT calimero DOT vinschen DOT de> <1254830174 DOT 20100526174227 AT mtu-net DOT ru> <20100526143428 DOT GN10652 AT calimero DOT vinschen DOT de> <326990670 DOT 20100530001515 AT mtu-net DOT ru> <20100530055757 DOT GA3251 AT trixie DOT casa DOT cgf DOT cx> <1656998784 DOT 20100531033519 AT mtu-net DOT ru> <8CCC8F85C5F2784387A32FAD835FB4E602DD771961 AT server03>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Greetings, DEWI - N. Zacharias!

>> As per
>> >>definition of a text as "multiple strings".
>> >>You don't need to argue over it, just document it properly :)
>>
>> > Converting a NUL to a EOL would be very strange behavior.
>>
>> Strange? I don't think so. I expect text data from text file. Not binary
>> stream.

> If the content of a file is binary or text has nothing to do with the file
> structure. As an example a executable is a file as well.
> So what you expect does not matter! The inner structure of a file depends on
> the creator of the file. 

Inner structure of a REG_SZ variable is a... (surprize!) string!

>> > I don't think you really know what you're asking for.
>>
>> I know. Look at windows own regedit and Registry Browser FAR plugin as two
>> examples.
>> They do such two-way conversion transparently for user.

> If you think that such a tool is a good idea, just contribute it.

I don't think I need tools to filter string from string.

> By the way I really don't know why you wasting time  on writing mails
> instead of writing a short piece of code to handle such a string. 

I really don't know why you wasting time accusing me of wasting time?
(I hope you got the point? It's my time, and I spending it as I see it fit)

> Eg. in perl it is just one command called chomp.

May be. I don't know Perl.

>>
>> --
>> WBR,
>>  Andrey Repin (anrdaemon AT freemail DOT ru) 31.05.2010, <3:29>
>>
>> Sorry for my terrible english...

> Your  english is not that what bothering me  ;-)

It seems, my template attracted you more than my answers.


--
WBR,
 Andrey Repin (anrdaemon AT freemail DOT ru) 01.06.2010, <3:29>

Sorry for my terrible english...


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019