from Hacker News

The initial version of the /etc./magic file used by the file(1) command

by SeenNotHeard on 6/3/25, 4:10 PM with 15 comments

  • by kps on 6/3/25, 4:49 PM

    > Today, we can go all the way back to its first commit from around 40 years ago via its Git repository

    I can't wait to see someone to find the first commit of SCCS via its Git repository.

  • by jandrese on 6/3/25, 5:50 PM

    I still think it is a shame that Unix never adopted the concept of the resource fork from Macs. Having a pair of 4 byte fields that denote file type and associated program is so much better than reading the first few bytes of the data and guessing. file(1) is and has always been a hack.