4 ms·
I do something similar to convert supposed plain text to 7-bit US-ASCII. I use a sed script however...
by every 4y ago
I do something similar to convert supposed plain text to 7-bit US-ASCII. I use a sed script however...
- DamonHD 4y agoDon't shoot me, but I've used ask to create binary MIDI and WAV files...
- DamonHD 4y agoHmmm aWk!
- sargstuff 4y agoWhen appropriate, don't pass up opportunities to ingest Gawk [1]! edit: especially since unicode support allows for use of native Klingon fonts. [1] https://www.startrek.com/database_article/gagh https://www.startrek.com/database_article/gagh
- deleted 4y ago[deleted]
- sargstuff 4y agoOk, even though hasn't been ported as an awk extension under gawk, will POKE [1][2] with command line pipe do (perhaps with enough sed, too)? [1] : https://www.gnu.org/software/poke/ https://www.gnu.org/software/poke/ [2] : https://kernel-recipes.org/en/2019/talks/gnu-poke-an-extensible-editor-for-structured-binary-data/ https://kernel-recipes.org/en/2019/talks/gnu-poke-an-extensi...
- sargstuff 4y agoawk system() makes possible to avoid being BASH'ed.