3 ms·
But not with file extensions of .txt. They should only do bells and whistles if the extension warrants some bells. .md, sure syntax highlight me. But opening .t
by Railsify 6y ago
But not with file extensions of .txt. They should only do bells and whistles if the extension warrants some bells. .md, sure syntax highlight me. But opening .txt and treating it as html, that seems strange.
- irq 6y ago> But opening.txt and treating it as html, that seems strange. I’d go as far as to call it negligent, not merely strange.
- deleted 6y ago[deleted]
- cyphar 6y agoWell, on Unix file extensions are a convention and don't have any strict semantic meaning. Maybe this doesn't make sense in a world where most people do think in terms of file extensions (thanks to the popularity of Windows) but it shouldn't be surprising that non-Windows programs might not special-case file extensions. (Though in fairness, text editors do usually have special casing for file extensions and these days tools like ls will colour filenames based on the extension.)
- tsimionescu 6y agoThis is only a Unix vs Windows thing in terms of the application launcher and how it is implemented. File extensions are semantically meaningful for many unix tools, most notably gcc.
- kergonath 6y agoAlso meaningless for vastly more UNIX tools. Also, Gnu’s not UNIX.