Timeline for Remove all zero bytes from file in Unix
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 5, 2024 at 8:04 | comment | added | Csaba Toth | @ScottishTapWater My bad, I misread it, end of a very long day. | |
| Jan 3, 2024 at 17:41 | comment | added | ScottishTapWater | @CsabaToth rng is a random number generator, not a typo | |
| Jan 2, 2024 at 21:45 | comment | added | Csaba Toth | PNG is a binary format so you may not want to remove 0 bytes, but I got a messed up text file which surely doesn't need any zeroes. | |
| Dec 6, 2020 at 1:10 | comment | added | ScottishTapWater | I'm reading it in from a serial port using cat | |
| Dec 6, 2020 at 0:54 | vote | accept | ScottishTapWater | ||
| Dec 6, 2020 at 0:54 | comment | added | ScottishTapWater | @AndrewHenle to be honest, they looked like an artifact of something wrong with my transmission process. Removing the null bytes didn't help. I just figured it was worth trying. The data is being produced by a quantum-random number generator I've made and being transmitted to the comp over UART. I've checked the data on a scope and it looks as I'd expect so something's going wrong in my FPGA that's converting the randomness to a bit stream | |
| Dec 5, 2020 at 23:39 | comment | added | Andrew Henle | What has caused you to decide that the 0x00 bytes are not random? How are you creating/writing that file? | |
| Dec 5, 2020 at 22:51 | history | edited | Kusalananda♦ | edited tags | |
| Dec 5, 2020 at 21:21 | answer | added | Kusalananda♦ | timeline score: 7 | |
| Dec 5, 2020 at 21:15 | history | asked | ScottishTapWater | CC BY-SA 4.0 |