Reply to post:

File suffixes: Who needs them? Well, this guy did

Kubla Cant

Magic numbers embedded in the file are an ugly workaround. One old idea is to put the file type indicator is in the file descriptor - like the executable bit in *nix.

I recall that Digital RMS did something of the kind. But I also recall that VMS disks tended to contain lots of files that were simply untyped streams.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon