4 ms·
Hmm, I can't replicate this on my Mac running 10.9. printf '<!DOCTYPE HTML><html><head></head><body>' > test.txt Opening test.txt shows the exact code I p
by Wowfunhappy 6y ago
Hmm, I can't replicate this on my Mac running 10.9.
printf '<!DOCTYPE HTML><html><head></head><body>' > test.txt
Opening test.txt shows the exact code I printed. Am I missing something?
- twobitshifter 6y agoHe said it was patched in 2020
- Wowfunhappy 6y agoAnd 10.9 was last updated in 2016. :)
- philistine 6y agothe preferences allow you to set wether html is parsed or displayed as is. Perhaps it's due to that ?
- Wowfunhappy 6y agoYep, was was it. I forgot I set that. Some odd things are going on here though. The file is listed as “locked” when I open it, and if as TextEdit to unlock it, it fixes the file extension.