Windows 10: to get a text file of uniform line endings from mixed ones CR+LF and LF

Discus and support to get a text file of uniform line endings from mixed ones CR+LF and LF in Windows 10 Network and Sharing to solve the problem; Well, I think this bash script is of almost no use in general :-I hope this maybe help Japanese user somewhere.I'm using this script to rectify log... Discussion in 'Windows 10 Network and Sharing' started by noellapin, Dec 28, 2021.

  1. noellapin Win User

    to get a text file of uniform line endings from mixed ones CR+LF and LF


    Well, I think this bash script is of almost no use in general :-I hope this maybe help Japanese user somewhere.I'm using this script to rectify log files on Windows 10 Home 21H2 with ubuntu focal of WSL2 Windows Susbsystem for Linux .--- $HOME/bin/win_cnv#!/bin/bash## Usage: wsl ~/bin/win_cnv foo in cmd console ## Input: C:\tmp\foo# a one of four encodings: ansi, utf-8, utf-16le, utf-16be.# not allowed mixed encodings.# b mixed types of two line endings: CR+LFwindows and LFlinux.## Output:# 1 C:\tmp\win_cnv.foo.win: ansi, CR+LF# 2 C:\tmp

    :)
     
    noellapin, Dec 28, 2021
    #1

  2. insert cr-lf in wordpad find and replace

    I would like to insert cr-lf using find-and-replace in wordpad. eol would be useful. I need to end lines at a defined character sequence. Currently I find the sequence, escape the find, then insert return.
     
    rolandbooker, Dec 28, 2021
    #2
  3. insert cr-lf in wordpad find and replace

    Where is the cr-lf? None have allowed eol.
     
    rolandbooker, Dec 28, 2021
    #3
  4. Hawkwind Win User

    to get a text file of uniform line endings from mixed ones CR+LF and LF

    GPU-Z sensor log file using two CR-LF per record?

    Just updated and like many prev versions, GPU-Z sensor log file is using two CR-LF at the end of each record. (viewed via hex editor it's: 0D0A0D0A) Is there a reason for this? (if it matters, Windows 7 64bit, GPU-Z.0.6.2.exe)

    After renaming the file to .csv for example and then opened in Excel, OpenOffice Calc, etc, you get the record then an empty line, then the next record.

    This is not a big deal, but unless there is a special reason for the 2nd CR-LF, would be nice if it were only one set of CR-LF instead, which would remove the empty line between all the records.

    Thanks
     
    Hawkwind, Dec 28, 2021
    #4
Thema:

to get a text file of uniform line endings from mixed ones CR+LF and LF

Loading...
  1. to get a text file of uniform line endings from mixed ones CR+LF and LF - Similar Threads - text file uniform

  2. Windows 10 text size scaling not working uniformly

    in Windows 10 Gaming
    Windows 10 text size scaling not working uniformly: I am facing few text scaling issues. In some system options the text is too small and does not fit the selected settings.i do have the image but it is not uploading no matter how i try....
  3. My PC is /ty/ping s/lashes by its //s//e/lf/

    in Windows 10 BSOD Crashes and Debugging
    My PC is /ty/ping s/lashes by its //s//e/lf/: Hello, I have a problem with my PC that the PC it self is typing forward slashes by it self, My PC type is Legion Y540 and I tried every single thing on YouTube and in every search link, I tried searching and trying to fix my computer a/nd still there is no response, I wish...
  4. to get a text file of uniform line endings from mixed ones CR+LF and LF

    in Windows 10 Gaming
    to get a text file of uniform line endings from mixed ones CR+LF and LF: Well, I think this bash script is of almost no use in general :-I hope this maybe help Japanese user somewhere.I'm using this script to rectify log files on Windows 10 Home 21H2 with ubuntu focal of WSL2 Windows Susbsystem for Linux .--- $HOME/bin/win_cnv#!/bin/bash## Usage:...
  5. to get a text file of uniform line endings from mixed ones CR+LF and LF

    in Windows 10 Software and Apps
    to get a text file of uniform line endings from mixed ones CR+LF and LF: Well, I think this bash script is of almost no use in general :-I hope this maybe help Japanese user somewhere.I'm using this script to rectify log files on Windows 10 Home 21H2 with ubuntu focal of WSL2 Windows Susbsystem for Linux .--- $HOME/bin/win_cnv#!/bin/bash## Usage:...
  6. LF: Cheapest/Legit way to get a decent MS Office suite for one laptop

    in Windows 10 Ask Insider
    LF: Cheapest/Legit way to get a decent MS Office suite for one laptop: I am fine with a one use key/OEM key. The person I am giving it to is using a laptop they plan on keeping so if that $30 for 1 time use key for office 2016 is legit I'm fine going for it. I just don't know which of these sites to trust or if there is a better way? Mainly my...
  7. LF - Win10 Chroma / RGB Theme

    in Windows 10 Ask Insider
    LF - Win10 Chroma / RGB Theme: Hey all! I'm new to this sub! Anyways, here's what I'm looking for: An RGB / Chroma theme for windows 10, something with active color shifting that affects the task-bar, the start menu, and individual file explorer windows just as the regular color selection themes do in...
  8. [lf advice] Can you get a Virus from Pop-Up adds?

    in Windows 10 Ask Insider
    [lf advice] Can you get a Virus from Pop-Up adds?: Asking for a friend of mine who is very cautious of using the internet (especially regarding certain kinds of websites that tend have alot of pop-up adds) and wants to be sure there is no risk from pop-ups. So is it actually possible to get a virus from just a pop-up...
  9. LF help to set up a good network.

    in Windows 10 Network and Sharing
    LF help to set up a good network.: Hello, From our ISP we have this pretty crappy modem/router combo that, all too often, "breaks" in some way (wifi goes down, internet just dies for 2 seconds, and so on). It often cannot handle the heavier traffic we're doing, and even some standard traffic it should be...
  10. LF hints: Updating Samsung Raiisa R700 from Windows 7 to 10

    in Windows 10 Drivers and Hardware
    LF hints: Updating Samsung Raiisa R700 from Windows 7 to 10: Hi there, I want to update one of my old Samsung Laptops (Samsung R700 Aura T5750 Raiisa (NPR700-AS05DE/SEG)) from it's native Windows 7 to 10. I looked around a little bit if it's possible at all - Samsungs FAQ, like always, no big help concerning this - and found some...