This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AW: [bulk] - Re: Reading /proc/registry/... returns extra char


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@freemail.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@freemail.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]