X-Recipient: archive-cygwin@delorie.com X-SWARE-Spam-Status: No, hits=0.3 required=5.0 tests=AWL,BAYES_50,T_FILL_THIS_FORM_SHORT X-Spam-Check-By: sourceware.org From: "DEWI - N. Zacharias" To: Christopher Faylor Date: Mon, 31 May 2010 09:24:42 +0200 Subject: AW: [bulk] - Re: Reading /proc/registry/... returns extra char Message-ID: <8CCC8F85C5F2784387A32FAD835FB4E602DD771961@server03> References: <20100513181249.GE13784@cupro.opengvs.com> <2BF01EB27B56CC478AD6E5A0A28931F2F01D44@A1DAL1SWPES19MB.ams.acs-inc.net> <20100526114733.GG10652@calimero.vinschen.de> <1254830174.20100526174227@mtu-net.ru> <20100526143428.GN10652@calimero.vinschen.de> <326990670.20100530001515@mtu-net.ru> <20100530055757.GA3251@trixie.casa.cgf.cx> <1656998784.20100531033519@mtu-net.ru> In-Reply-To: <1656998784.20100531033519@mtu-net.ru> Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CheckCompat: OK X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Dear Andrey, > -------------------------------------------------------------------------- Dipl. Phys. Norbert Zacharias Wind Measurements & Power Curve Measurements DEWI GmbH Ebertstrasse 96 26382 Wilhelmshaven Germany Tel.: +49 4421 4808 876 Fax: +49 4421 4808 843 Email: N.Zacharias@dewi.de Home: http://http://www.dewi.de DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven Commercial Register No.: Amtsgericht Oldenburg, HRB 130241 Managing Director: Jens Peter Molly Chairman of the supervisory board: Ministerialrat Dr. Niels K=E4mpny P Please consider the environment before printing this email. -----Urspr=FCngliche Nachricht----- > Von: Andrey Repin [mailto:anrdaemon@freemail.ru] > Gesendet: Montag, 31. Mai 2010 01:35 > An: Christopher Faylor > Betreff: [bulk] - Re: Reading /proc/registry/... returns extra char > > Greetings, Christopher Faylor! > [...] I followed this thread for a while, but now I think I should contribute a l= ittle. > 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 o= n the creator of the file. > > 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. By the way I really don't know why you wasting time on writing mails inste= ad of writing a short piece of code to handle such a string. Eg. in perl it is just one command called chomp. > > -- > WBR, > Andrey Repin (anrdaemon@freemail.ru) 31.05.2010, <3:29> > > Sorry for my terrible english... Your english is not that what bothering me ;-) Sorry but could not resist! Have a good time Norbert -- 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