5 ms·
I just want to be able to look at the first 10 lines of a 15MB JSON I downloaded of the internet without having the entire application crash. It doesn't seem li
by KZeillmann 10y ago
I just want to be able to look at the first 10 lines of a 15MB JSON I downloaded of the internet without having the entire application crash. It doesn't seem like too much to ask. There's a big difference between asking for a 15MB file and a 500MB file. 15MB is a pretty reasonable size for a text editor to be able to open without crashing, IMO. Unfortunately, I have to peek at those in Vim instead. Nothing wrong with Vim, but I hate having to switch editors to look at one file.
- aaron987 10y agoIf it's just JSON, can't you do this: head -10 myfile.json
- oblio 10y agoIdeally you'd want to configure the browser to open JSON files & co with your default editor, since that makes for a very pleasant workflow.
- tehwebguy 10y agoI don't know now what goes into these apps or why newer apps can't handle it but I still keep TextWrangler around for huge files. It's not really a "modern" editor I guess but it screams.
- di4na 10y agohead ?
- kleptako 10y agohttps://en.wikipedia.org/wiki/Head_(Unix) https://en.wikipedia.org/wiki/Head_(Unix)
- elmigranto 10y agohead — https://linux.die.net/man/1/head https://linux.die.net/man/1/head tail — https://linux.die.net/man/1/tail https://linux.die.net/man/1/tail less — https://linux.die.net/man/1/less https://linux.die.net/man/1/less