#1 Open commands should support goto line

Chiuso
aperto 1 anno fa da nuclearkev · 1 commenti

Similarly how you can start up ait with ait file.txt +num, the open commands should also accept this format. The programs would just need to output file.txt +num to STDOUT.

Similarly how you can start up ait with `ait file.txt +num`, the open commands should also accept this format. The programs would just need to output `file.txt +num` to STDOUT.
Kevin "The Nuclear" Bloom commented 1 anno fa
Proprietario

Most grep-like commands only show positive line numbers so it didn't make sense to do it like how the command line interface works. Also, some files have spaces in the names so it's easier to parse if I use a colon. Look at scripts/gg (git grep) to see an example.

Most grep-like commands only show positive line numbers so it didn't make sense to do it like how the command line interface works. Also, some files have spaces in the names so it's easier to parse if I use a colon. Look at `scripts/gg` (git grep) to see an example.
Sign in to join this conversation.
Caricamento...
Annulla
Salva
Non ci sono ancora contenuti.