Print column of search result
"Jonas H." <[email protected]> Wed, 19 Aug 2015 13:51:43 +0200
| Newsgroups | gmane.comp.gnu.global.general |
|---|---|
| Message-ID | <[email protected]> |
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
_______________________________________________
Help-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-global