I have a decode error parsing a JSON file, all I am given is the location of the faulty character in the file: char 5960
. My file has multiple lines.
How can I jump to that nth character (or at least to the corresponding line) using less
?
Note: I think vi
is able to do it, and so is Emacs
with command repetition, but I usually use less
so I would prefer that solution as more straighforward.