Timeline for How to remove visually empty lines from a text file?
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 9, 2022 at 12:54 | comment | added | AeroMaxx | So when you open the result file after the command in say notepad++ you don't say 5 lines with printable characters and 6th line with nothing on it. just based on the line numbers shown in notepad++ ? | |
| Nov 9, 2022 at 12:45 | comment | added | Kusalananda♦ | @AeroMaxx Yes, I also tested with a DOS text file, but that does not trigger the behaviour that you see. | |
| Nov 9, 2022 at 12:42 | comment | added | AeroMaxx | Yeah I realise that, I just haven't done so in the fear of losing some work, or something that works now and then doesn't after upgrade. The machine is on a local network so not accessible from the internet. But back to the issue, can you try with a file with windows line endings, does that reproduce the issue? | |
| Nov 9, 2022 at 7:01 | history | edited | Kusalananda♦ | CC BY-SA 4.0 | deleted 67 characters in body |
| Nov 9, 2022 at 6:48 | comment | added | Kusalananda♦ | @AeroMaxx Debian 9 ("Stretch") was discontinued 2020. You should upgrade. I don't have access to releases that old to test with. (EDIT: Yes I have, now, but I can't actually reproduce your issue.) | |
| Nov 9, 2022 at 6:36 | comment | added | AeroMaxx | I am using sed on Debian Linux Stretch. | |
| Nov 8, 2022 at 9:49 | history | edited | Kusalananda♦ | CC BY-SA 4.0 | added 5 characters in body |
| Nov 8, 2022 at 9:33 | history | edited | Kusalananda♦ | CC BY-SA 4.0 | deleted 14 characters in body |
| Nov 8, 2022 at 8:45 | history | edited | Kusalananda♦ | CC BY-SA 4.0 | added 57 characters in body |
| Nov 8, 2022 at 8:31 | comment | added | AeroMaxx | This works great, thank you ever so much for this! | |
| Nov 8, 2022 at 8:31 | vote | accept | AeroMaxx | ||
| Nov 8, 2022 at 8:18 | history | edited | Kusalananda♦ | CC BY-SA 4.0 | added 1 character in body |
| Nov 8, 2022 at 8:12 | history | answered | Kusalananda♦ | CC BY-SA 4.0 |