Timeline for How to add a newline to the end of a file?
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 20, 2019 at 8:29 | comment | added | Stéphane Chazelas | Note that POSIX doesn't guarantee the value of LF to be 0x0a. There are still POSIX systems where it's not (EBCDIC based ones) though they're extremely rare these days. | |
| Sep 20, 2019 at 8:27 | comment | added | Stéphane Chazelas | @kelvin, I've updated my answer | |
| Sep 19, 2019 at 21:15 | comment | added | kelvin | @StéphaneChazelas Please post that as an answer; I have come here looking for this comment too many times :) | |
| May 15, 2018 at 15:45 | comment | added | Stéphane Chazelas |
Note that neither xxd nor hexdump are POSIX utilities. In the POSIX toolchest, there's od -An -tx1 to get the hex value of a byte.
|
|
| Feb 7, 2018 at 17:50 | history | edited | user232326 | CC BY-SA 3.0 |
added 1 character in body
|
| Jan 14, 2017 at 23:23 | history | edited | user232326 | CC BY-SA 3.0 |
added 22 characters in body
|
| Jan 14, 2017 at 23:16 | history | edited | user232326 | CC BY-SA 3.0 |
A more robust test.
|
| Nov 13, 2016 at 1:43 | history | answered | user232326 | CC BY-SA 3.0 |