[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Handling files with CRLF line ending
From: |
Yair Lenga |
Subject: |
Re: Handling files with CRLF line ending |
Date: |
Tue, 6 Dec 2022 10:09:27 -0500 |
Valid question.
I believe a major goal of bash will be to cross operate with other tools.
In this case, being able to read text files generated by python, when
running under WSL, seems like something bash should do.
On the question of minimal changes. I believe many bash users (some are not
hard core developers, just devops) are tasked with transfering existing
solutions to WSL. I am not aware of hard data, but I believe those are
underrepresented in this forum.
I admit no hard data to support any of those.
On Mon, Dec 5, 2022, 15:36 Chet Ramey <chet.ramey@case.edu> wrote:
> On 12/3/22 8:53 AM, Yair Lenga wrote:
> > Thank you for suggestions. I want to emphasize: I do not need help in
> > striping the CR from the input files - it's simple.
> >
> > The challenge is executing a working bash/python solution from Linux on
> > WSL, with MINIMAL changes to the scripts.
>
> That's certainly your priority. But is it a compelling enough reason to
> change bash to accomplish it?
>
> It seems easy enough to set up a pipeline on WSL to provide input in the
> form the script authors assume.
>
>
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
> ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
>
>
- Handling files with CRLF line ending, Yair Lenga, 2022/12/03
- Re: Handling files with CRLF line ending, Greg Wooledge, 2022/12/03
- Re: Handling files with CRLF line ending, Yair Lenga, 2022/12/03
- Re: Handling files with CRLF line ending, Chet Ramey, 2022/12/05
- Re: Handling files with CRLF line ending,
Yair Lenga <=
- Re: Handling files with CRLF line ending, Dale R. Worley, 2022/12/06
- Re: Handling files with CRLF line ending, Chris Elvidge, 2022/12/06
- Re: Handling files with CRLF line ending, L A Walsh, 2022/12/06
- Re: Handling files with CRLF line ending, Koichi Murase, 2022/12/06
- Re: Handling files with CRLF line ending, Chris Elvidge, 2022/12/07
- Re: Handling files with CRLF line ending, Ángel, 2022/12/08
- Re: Handling files with CRLF line ending, Chris Elvidge, 2022/12/08