#1 Open commands should support goto line

已關閉
nuclearkev1 年之前創建 · 1 條評論

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.

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.
登入 才能加入這對話。
正在加載...
取消
保存
尚未有任何內容