Menu

#26 MacOS line endings

1.0
closed
nobody
None
2021-09-17
2019-07-09
No

The MacOS version of EasyABC (1.3.7.7 at least) creates files with MSDOS <cr><lf> line endings, rather than the conventional bare <lf>. This isn't a major issue, but it's tedious and can be a problem interworking with other utilities. It's possible the Unix version has the same misfeature.</lf></lf></cr>

$ uname
Darwin
$ od -tc test.abc
0000000    X   :   1   1  \r  \n   T   :   T   e   s   t  \r  \n   M   :
0000020    4   /   4  \r  \n   K   :   D  \r  \n   a   b   c   d       e
0000040    f   g
0000042

This is better than an earlier version that seemed to use bare <cr> under MacOS.</cr>

Jon

p.s. Still a really useful program - thanks.

Related

Tickets: #26

Discussion

  • kmarty

    kmarty - 2019-10-10

    ...

     

    Last edit: kmarty 2019-10-10
  • J.W. de Jong

    J.W. de Jong - 2019-10-10

    Line endings are always a pain cross platform. I believe these are the defaults for each platform:
    Windows: CR LF
    Mac: CR
    Unix: LF

    You are suggesting to not use CR but LF on Mac. Has there been a change I am not aware of?

     
    • Jon Warbrick

      Jon Warbrick - 2019-10-10

      Yes, MacOS moved to using (just) LF as part of the move to Unix-based MacOS X.

      Jon.

      --
      Jon Warbrick

      On 10 Oct 2019, at 21:59, J.W. de Jong jwdejong@users.sourceforge.net wrote:

      Line endings are always a pain cross platform. I believe these are the defaults for each platform:
      Windows: CR LF
      Mac: CR
      Unix: LF

      You are suggesting to not use CR but LF on Mac. Has there been a change I am not aware of?

      [tickets:#26] MacOS line endings

      Status: open
      Milestone: 1.0
      Created: Tue Jul 09, 2019 08:53 AM UTC by Jon Warbrick
      Last Updated: Thu Oct 10, 2019 05:29 PM UTC
      Owner: nobody

      The MacOS version of EasyABC (1.3.7.7 at least) creates files with MSDOS <cr><lf> line endings, rather than the conventional bare <lf>. This isn't a major issue, but it's tedious and can be a problem interworking with other utilities. It's possible the Unix version has the same misfeature.</lf></lf></cr>

      $ uname
      Darwin
      $ od -tc test.abc
      0000000 X : 1 1 \r \n T : T e s t \r \n M :
      0000020 4 / 4 \r \n K : D \r \n a b c d e
      0000040 f g
      0000042
      This is better than an earlier version that seemed to use bare <cr> under MacOS.</cr>

      Jon

      p.s. Still a really useful program - thanks.

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/easyabc/tickets/26/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #26

      • J.W. de Jong

        J.W. de Jong - 2019-10-10

        Ah that is good news. I will fix this in the near future.

        On 10-10-2019 23:25, Jon Warbrick wrote:

        Yes, MacOS moved to using (just) LF as part of the move to Unix-based
        MacOS X.

        Jon.

        --
        Jon Warbrick

        On 10 Oct 2019, at 21:59, J.W. de Jong
        jwdejong@users.sourceforge.net
        <mailto:jwdejong@users.sourceforge.net> wrote:
        
        Line endings are always a pain cross platform. I believe these are
        the defaults for each platform:
        Windows: CR LF
        Mac: CR
        Unix: LF
        
        You are suggesting to not use CR but LF on Mac. Has there been a
        change I am not aware of?
        
        [tickets:#26] <https://sourceforge.net/p/easyabc/tickets/26/>
        MacOS line endings
        
        Status: open
        Milestone: 1.0
        Created: Tue Jul 09, 2019 08:53 AM UTC by Jon Warbrick
        Last Updated: Thu Oct 10, 2019 05:29 PM UTC
        Owner: nobody
        
        The MacOS version of EasyABC (1.3.7.7 at least) creates files with
        MSDOS <cr><lf> line endings, rather than the conventional bare
        <lf>. This isn't a major issue, but it's tedious and can be a
        problem interworking with other utilities. It's possible the Unix
        version has the same misfeature.</lf></lf></cr>
        
        $ uname
        Darwin
        $ od -tc test.abc
        0000000 X : 1 1 \r \n T : T e s t \r \n M :
        0000020 4 / 4 \r \n K : D \r \n a b c d e
        0000040 f g
        0000042
        This is better than an earlier version that seemed to use bare
        <cr> under MacOS.</cr>
        
        Jon
        
        p.s. Still a really useful program - thanks.
        
        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/easyabc/tickets/26/
        
        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/
        

        [tickets:#26] https://sourceforge.net/p/easyabc/tickets/26/ MacOS
        line endings

        Status: open
        Milestone: 1.0
        Created: Tue Jul 09, 2019 08:53 AM UTC by Jon Warbrick
        Last Updated: Thu Oct 10, 2019 08:59 PM UTC
        Owner: nobody

        The MacOS version of EasyABC (1.3.7.7 at least) creates files with
        MSDOS <cr><lf> line endings, rather than the conventional bare <lf>.
        This isn't a major issue, but it's tedious and can be a problem
        interworking with other utilities. It's possible the Unix version has
        the same misfeature.</lf></lf></cr>

        $ uname
        Darwin
        $ od -tc test.abc
        0000000 X :1 1 \r \n T : T e s t\r \n M :
        0000020 4 /4 \r \n K : D\r \n a b c d e
        0000040 f g
        0000042

        This is better than an earlier version that seemed to use bare <cr>
        under MacOS.</cr>

        Jon

        p.s. Still a really useful program - thanks.


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/easyabc/tickets/26/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/

         

        Related

        Tickets: #26

  • J.W. de Jong

    J.W. de Jong - 2021-09-16

    It has been awhile and I think I have fixed this long ago. Could you confirm?

     
    • Jon Warbrick

      Jon Warbrick - 2021-09-17

      Yes, it looks as if the version I currently have (calling itself "EasyABC 1.3.7.9 2021-01-01 FAU-Test” from https://drive.google.com/u/0/uc?id=1mnXH6DD_PYFSrjyLvFpJ_m0ZA90qgmaG&export=download) works as I’d expect:

      $ uname
      Darwin
      $ od -tc Untitled.abc
      0000000 F o o \n B a r \n B a z
      0000013

      Jon.

      On 16 Sep 2021, at 21:19, J.W. de Jong jwdejong@users.sourceforge.net wrote:

      It has been awhile and I think I have fixed this long ago. Could you confirm?

      [tickets:#26] MacOS line endings

      Status: open
      Milestone: 1.0
      Created: Tue Jul 09, 2019 08:53 AM UTC by Jon Warbrick
      Last Updated: Thu Oct 10, 2019 08:59 PM UTC
      Owner: nobody

      The MacOS version of EasyABC (1.3.7.7 at least) creates files with MSDOS <cr><lf> line endings, rather than the conventional bare <lf>. This isn't a major issue, but it's tedious and can be a problem interworking with other utilities. It's possible the Unix version has the same misfeature.</lf></lf></cr>

      $ uname
      Darwin
      $ od -tc test.abc

      0000000 X : 1 1 \r \n T : T e s t \r \n
      M :

      0000020 4 / 4 \r \n K : D \r \n
      a b c d e

      0000040
      f g

      0000042
      This is better than an earlier version that seemed to use bare <cr> under MacOS.</cr>

      Jon

      p.s. Still a really useful program - thanks.

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/easyabc/tickets/26/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #26

  • J.W. de Jong

    J.W. de Jong - 2021-09-17
    • status: open --> closed
     

Log in to post a comment.