https://boards.4channel.org/mlp/thread/38972725#p39012446 >>39012446 >Then identify the ones where there are replies *and* the totalReplyCount doesn't equal the number of replies How does your script tell when replies =/= totalReplyCount (you probably don't do it manually)? I made this thing which reports instances of said inequality; see below (figuring out the vim way probably took me longer and was harder than if I was to find out the JS way). Though it would probably be better to do it with JavaScript or something, I didn't feel like figuring out the JS way to do it. So I figuring out how to do it with vim :) :%s/\(.\+\n\)\{28} \{8}"totalReplyCount": 0,\(\n.\+\)\{3}//g :%s/\(.\+\n\)\{6}\%x20\{14}"textDisplay": "\(.\+\n\)\{15}.\+/./g :%s/\(^\.$\n\)\+/\=strlen(substitute(submatch(0), "\n", "", "g")) . "\r" :%s/^ \{8}"totalReplyCount": \(\d\+\),\(\n.\+\)\{4}\n\1/---Has all replies/ge :%s/^ \{8}"totalReplyCount": \(\d\+\),\(\n.\+\)\{4}\n\d\+/---Does NOT have all replies/ge :g!/^---\|^ \{6}"id"/d Above: run as a function in .vimrc or run as one command with " | " between each command. Full version of this post due to the fucking Cloudflare: [this URL] IGNORE THE FOLLOWING, unless you are some Japan-obsessed loser. Bunch of stupid shit from this very limiting website: http://behoimi.org/post/show/300 http://behoimi.org/post/show/301 http://behoimi.org/post/show/302 http://behoimi.org/post/show/303 http://behoimi.org/post/show/304 http://behoimi.org/post/show/305 http://behoimi.org/post/show/306 http://behoimi.org/post/show/307 http://behoimi.org/post/show/308 http://behoimi.org/post/show/309 http://behoimi.org/post/show/310 http://behoimi.org/post/show/311 http://behoimi.org/post/show/312 http://behoimi.org/post/show/313 http://behoimi.org/post/show/314 http://behoimi.org/post/show/315 http://behoimi.org/post/show/316 http://behoimi.org/post/show/317 http://behoimi.org/post/show/318 http://behoimi.org/post/show/319 http://behoimi.org/post/show/320 http://behoimi.org/post/show/321 http://behoimi.org/post/show/322 http://behoimi.org/post/show/323 http://behoimi.org/post/show/324 http://behoimi.org/post/show/325 http://behoimi.org/post/show/326 http://behoimi.org/post/show/327 http://behoimi.org/post/show/328 http://behoimi.org/post/show/329 http://behoimi.org/post/show/330 http://behoimi.org/post/show/331 http://behoimi.org/post/show/332 http://behoimi.org/post/show/333 http://behoimi.org/post/show/334 http://behoimi.org/post/show/335 http://behoimi.org/post/show/336 http://behoimi.org/post/show/337 http://behoimi.org/post/show/338 http://behoimi.org/post/show/339 http://behoimi.org/post/show/340 http://behoimi.org/post/show/341 http://behoimi.org/post/show/342 http://behoimi.org/post/show/343 http://behoimi.org/post/show/344 http://behoimi.org/post/show/345 http://behoimi.org/post/show/346 http://behoimi.org/post/show/347 http://behoimi.org/post/show/348 http://behoimi.org/post/show/349 http://behoimi.org/post/show/350 vc: 7wy0V