[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Print column of search result
From: |
Jonas H. |
Subject: |
Print column of search result |
Date: |
Wed, 19 Aug 2015 13:51:43 +0200 |
Hi,
is it possible to have the 'global' command print the column where a match was
found? I.e. the column number where the match begins:
hello.c:
int main() { }
$ global main -x --print-col
main 1:0 hello.c int main() {
If that’s impossible, is the source code context on the right a unique
identifier for the match, or could it happen that there are multiple matches,
beginning at different columns, that have the same context?
Thanks
Jonas
- Print column of search result,
Jonas H. <=