I'm building a CLI application where you're supposed to be able to open files at particular lines.
I noticed that many applications (vim, nano, kakoune) use the + argument to allow you to open a file at a certain line:column. However, this is not supported by all applications, for example vis and vi.
I notice that the application tig is able to figure out and open the correct line regardless, and I wonder how it can do it. Is there a generic way to open files at a particular line within a terminal?