Re:Show HN: Scanning the Web for Security.txt Files
by reaperducer on Friday January 01, 2021 @04:10PM
(#25607176)
As far as I recall, extensions became a thing with DOS
CP/M had extensions in 1974, five years before DOS. There may be older examples, but that's the first operating system I ever used.
Re:Show HN: Scanning the Web for Security.txt Files
by wglb on Friday January 01, 2021 @06:08PM
(#25608276)
And PDP-10 had them back in the 70s
Re:Show HN: Scanning the Web for Security.txt Files
by lokedhs on Saturday January 02, 2021 @03:17AM
(#25611262)
PDP-10 was an architecture, and there were many operating systems running on them. You may be thinking of TOPS-20, which indeed used filename.ext, where the extension was limited to 3 characters.
There was also ITS, which was one of the famous operating systems on the PDP-10. On ITS, filenames consisted of two parts, rach being 6 characters separated with a space. So you could have a file named "abc def". The second half was often used in the same way we use extensions today, but executable files were named "ts name", where name was the name of the command.
I'm not sure what format filenames had on TENEX and TOPS-10.
Re:Show HN: Scanning the Web for Security.txt Files
by wglb on Sunday January 03, 2021 @03:35PM
(#25624977)
Very good point. I was referencing Tops-10, which I am the most familiar with.
Re:Show HN: Scanning the Web for Security.txt Files
by throwaway201103 on Friday January 01, 2021 @04:15PM
(#25607246)
Makes sense. I think DOS took a lot of inspiration from CP/M.
As far as I recall, extensions became a thing with DOS. They actually had meaning to the OS, e.g. naming a file .exe would make it executable, as there was no other concept of file ownership or permissions.
In Unix/Linux systems, filename extensions have always been for the user. Before GUIs and icons, they were a convention that let the user know something about the file contents. As far as the operating system is concerned, "." is just another character in the name and extensions are meaningless. Note that most binary executables don't have an extension at all, and other files have more than one (e.g. .tar.gz)