News for hackers. Stuff that matters.
Re:Always Bet on Text by smj-edison on Saturday December 27, 2025 @03:46AM (#46400255)
This reminds me that I just learned the other day that .a files are unix archives, which have a textual representation (and if all the bundled files are textual, there's no binary information in the bundle). I thought .a was just for static libraries for the longest time, and had no idea that it was actually an old archive format.
Re:Always Bet on Text by naniwaduni on Saturday December 27, 2025 @09:53AM (#46402261)
It may amuse you to learn that tar headers are designed as straight up text tables with fixed-width columns, marred only by the fact that modern implementations pad with 0s instead of spaces. The numbers are encoded as octal digits!