Archer72 says: Arbitrary formats
RE: hpr4767::2026-11-10 pseudoformats by candycanearter00:05:07 Listen in
ogg,
opus,
or
mp3 format.
Hi,
This was an interesting show, and I did not know about the magic number for extensions.
I didn't see notes about .png , so I'll put it here
%png0d0a1a0a
It seemed that extension were an arbitrary Windows construct, so now it looks that way. Maybe then, some programs don't need a file extension at all. If the programming language is in the 'shebang' line, it should work just fine. For example, Perl or Python.
Cheers,
Archer72
Whiskeyjack says: Reply to Archer72 on file extensions
RE: hpr4767::2026-11-10 pseudoformats by candycanearter00:05:07 Listen in
ogg,
opus,
or
mp3 format.
Microsoft Windows got its three letter file extensions from MS-DOS, which copied them from CP/M. I don't know where CP/M got them from.
candycanearter07 says: re: arbritrary formats
RE: hpr4767::2026-11-10 pseudoformats by candycanearter00:05:07 Listen in
ogg,
opus,
or
mp3 format.
technically, a shebang can also be seen as a magic number as well, since it IS bytes at the start of a file that specify info about it!
and yeah, plenty of internal linux files dont use a extension at all (like /etc/fstab or /dev/sda)