Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #12428

Re: EOL type detection

From JJ <jj4public@gmail.com>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: EOL type detection
Date 2022-03-09 09:30 +0700
Organization A noiseless patient Spider
Message-ID <bv4ev7g0slzj.pfvu8f6e8t83.dlg@40tude.net> (permalink)
References (1 earlier) <svvt9e$v97$1@gioia.aioe.org> <1nd3b1sdbo4kn$.fh7v45y1h0o8.dlg@40tude.net> <t01tif$gr4$1@gioia.aioe.org> <plz8ewgg7q5s$.77xbms15aox6.dlg@40tude.net> <t07aqf$1ipv$1@gioia.aioe.org>

Show all headers | View raw


On Tue, 8 Mar 2022 11:03:08 +0100, R.Wieser wrote:
> 
> I didn't say it /supports/ Mac EOLs, just that it /displays/ in an expected, 
> readable way.  No idea what happens when you edit and than save such a file 
> (didn't go as far as to test that).  It could easily become one of those 
> frankenmonster files, mixing different types of EOLs ... :-\

Just to give a report, Mac EOLs are saved as DOS EOLs by Wordpad.

> In that case, are you sure you actually want to preserve the EOLs in the 
> file and not just (temporarily?) reformat the file in question ?  It could 
> result in something parsable.

Yes, I need to physically preserve the EOL type. The EOLs are just data
separator and only the line contents are meaningful. However, if the file is
modified, its original EOL type must be preserved.

> Than again, I get the feeling that speed is of the utmost importance to you 
> and everything else comes second - even getting results.

Functional code comes first, cause it'll be a useless software if it's fast
but broken. That is the standard for any programmer with the right mind.
Performance, memory usage, and code size comes next, depending on the
requirement. At least, for me.

Back to microsoft.public.scripting.vbscript | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

EOL type detection JJ <jj4public@gmail.com> - 2022-03-05 15:39 +0700
  Re: EOL type detection "Mayayana" <mayayana@invalid.nospam> - 2022-03-05 08:57 -0500
    Re: EOL type detection JJ <jj4public@gmail.com> - 2022-03-06 06:27 +0700
  Re: EOL type detection "R.Wieser" <address@not.available> - 2022-03-05 15:49 +0100
    Re: EOL type detection JJ <jj4public@gmail.com> - 2022-03-06 06:28 +0700
      Re: EOL type detection "R.Wieser" <address@not.available> - 2022-03-06 10:06 +0100
        Re: EOL type detection JJ <jj4public@gmail.com> - 2022-03-08 05:36 +0700
          Re: EOL type detection "R.Wieser" <address@not.available> - 2022-03-08 11:03 +0100
            Re: EOL type detection JJ <jj4public@gmail.com> - 2022-03-09 09:30 +0700

csiph-web