maybe, there are some historical differences that make newlines funny
business
https://blog.codinghorror.com/the-great-newline-schism/
I'd love to just use '\n' everywhere.
On Tue, Feb 7, 2017 at 9:24 AM, Alexander Ilin <ajs...@yandex.ru> wrote:
> Helllo, John!
>
> Suggestion taken, thank you!
>
> Why isn't there a symbol like `eol`, so it would be possible to do
> something like
>
> ```
> [ "\r\n" eol [ ... ] with-variable ] with-file-writer
> ```
>
> Or even like
>
> ```
> [ crlf [ ... ] with-eol ] with-file-writer
> ```
>
> Interested in a PR?
>
> 07.02.2017, 16:40, "John Benediktsson" <mrj...@gmail.com>:
> > You could add the line endings yourself:
> >
> > "\r\n" join set-file-contents
> >
> > or if you are memory constrained, write them:
> >
> > [ [ write "\r\n" write ] each ] with-file-writer
> >
> >> On Feb 7, 2017, at 4:15 AM, Alexander Ilin <ajs...@yandex.ru> wrote:
> >>
> >> Hello!
> >>
> >> Is there a way to use `change-file-lines`, but override EOL to be
> CR+LF in the output?
> >> If not, what's the alternative solution?
> >>
> >> ---=====---
> >> Александр
> >>
> >> -----------------------------------------------------------
> -------------------
> >> Check out the vibrant tech community on one of the world's most
> >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> >> _______________________________________________
> >> Factor-talk mailing list
> >> Factor-talk@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/factor-talk
> >
> > ------------------------------------------------------------
> ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Factor-talk mailing list
> > Factor-talk@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/factor-talk
>
> ---=====---
> Александр
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk