summaryrefslogtreecommitdiffstats
path: root/share (follow)
Commit message (Collapse)AuthorAgeLines
* CONTRIBUTING: Github repo was removedAlejandro Colomar2022-05-24-4/+1
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: Add -i flag as in grep(1)Alejandro Colomar2022-05-22-0/+4
| | | | | | Also, add some symmetry between ${iflag} and ${lflag}. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: Remove -tu from the defaultsAlejandro Colomar2022-05-22-2/+2
| | | | | | | | | | | Normally, one either wants to see a declaration/definition, or its uses, but not both at the same time. Also, there are usually many more use sites than than definitions, and therefore definitions are shadowed between all the noise. Restrict the default to declarations and definitions, which in my experience seems to be the most common use case. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: -tu: Allow searching special charactersAlejandro Colomar2022-05-20-7/+15
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* examples/README: Fix commandAlejandro Colomar2022-05-17-2/+2
| | | | | | | `grepc '<filename>'` no longer produces that output (it now finds more things). Use appropriate flags to keep the examples correct. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* COPYING: Remove relative pathAlejandro Colomar2022-05-17-2/+0
| | | | | | | | | We have <share/licenses/> and <LICENSES/> in the repo, which should be enough to let people find the license. Anyway, when installed, different systems will likely have licenses installed in different places. Let's remove probably incorrect data. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* README: Remove pointer to examples/Alejandro Colomar2022-05-17-3/+0
| | | | | | | | | | | It contained a relative path, that would need a complex Makefile to keep correct after installation. Let's assume that <share/doc/grepc/> is easy to find, as it follows FHS, and a bit of intuition should do the rest. Anyway, the manual page contains an example. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* README, CONTRIBUTING: Move contrib info to CONTRIBUTINGAlejandro Colomar2022-05-17-16/+16
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: -t...: Allow more granularityAlejandro Colomar2022-05-15-1/+39
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc.1: wfixAlejandro Colomar2022-05-15-2/+2
|
* grepc, grepc.1: wfixAlejandro Colomar2022-05-15-1/+1
| | | | | | | Rename functions to have different starting letters. Also rename the macro functions to more closely match ISO C nomenclature. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: -tu: Search also within enum and type definitionsAlejandro Colomar2022-05-15-2/+5
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: Add -l flag as in grep(1)Alejandro Colomar2022-05-14-0/+6
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc.1: ffixAlejandro Colomar2022-05-13-1/+1
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: Add -tu to search for usesAlejandro Colomar2022-05-13-1/+8
| | | | | Reported-by: наб <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: Add -k option for a more compact outputAlejandro Colomar2022-05-12-0/+5
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: Add -t option to restrict the search to a type of code.Alejandro Colomar2022-05-12-0/+27
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* examples/: ffixAlejandro Colomar2022-05-11-58/+0
| | | | | | Remove the leading blank lines. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* Makefile, examples/: Remove files with '\' in the filenameAlejandro Colomar2022-05-11-290/+0
| | | | | | Those are nice examples, but are a nightmare as filenames. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: Don't print leading blank lines.Alejandro Colomar2022-05-11-4/+0
| | | | | | | Also, update the manual page EXAMPLES regarding blank lines. Reported-by: наб <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc.1: SYNOPSIS: ffixAlejandro Colomar2022-05-11-2/+2
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: Add optional FILE trailing argumentsAlejandro Colomar2022-05-11-2/+20
| | | | | Reported-by: наб <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: -g: Add option to restrict search to files tracked by gitAlejandro Colomar2022-05-11-0/+4
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: -x: Add option to edit file extensionAlejandro Colomar2022-05-11-1/+8
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc, grepc.1: -h: Add option to print the usage message.Alejandro Colomar2022-05-11-0/+5
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc.1: wfixAlejandro Colomar2022-05-10-2/+1
| | | | | Reported-by: наб <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* INSTALL: We don't use so many extensions nowAlejandro Colomar2022-05-10-4/+2
| | | | | Reported-by: наб <nabijaczleweli@nabijaczleweli.xyz> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* examples/: Update examples regarding blank linesAlejandro Colomar2022-05-10-184/+0
| | | | | | | Recent changes reduced the number of blank lines. Update the examples to show that. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* examples/linux/: Add '\w*SYSCALL_DEFINE\w*'Alejandro Colomar2022-05-10-0/+321
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* INSTALL: Document all of the install-% targetsAlejandro Colomar2022-05-10-0/+2
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* COPYING: refer to share/licenses/ instead of LICENSES/Alejandro Colomar2022-05-09-1/+1
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* INSTALL: Document install-% and uninstall targetsAlejandro Colomar2022-05-09-0/+11
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc.1: ffixAlejandro Colomar2022-05-09-4/+4
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc.1: Add break points in URIAlejandro Colomar2022-05-09-1/+1
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* INSTALL: Document dependenciesAlejandro Colomar2022-05-09-2/+21
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc.1: EXAMPLES: Add example with nxt_sprintfAlejandro Colomar2022-05-09-0/+26
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* grepc.1: Add manual pageAlejandro Colomar2022-05-09-0/+29
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* INSTALL: Add installation instructionsAlejandro Colomar2022-05-09-0/+5
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* README: Add reference to examplesAlejandro Colomar2022-05-09-8/+2
| | | | | | | | Also remove an outdated paragraph. Also remove the license reference, since it's already in <COPYING>. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* examples/README: Add some description of the examplesAlejandro Colomar2022-05-09-0/+3
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* share/doc/grepc/examples/linux/*: Add examplesAlejandro Colomar2022-05-09-0/+626
| | | | | | Add some examples of running grepc on the Linux repository. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* share/doc/grepc/examples/glibc/*: Add examplesAlejandro Colomar2022-05-09-0/+1924
| | | | | | Add some examples of running grepc on the glibc repository. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* share/doc/grepc/examples/unit/*: Add examplesAlejandro Colomar2022-05-09-0/+108
| | | | | | Add some examples of running grepc on the NGINX Unit repository. Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* COPYING, LICENSES/GPL-2.0: Add licenseAlejandro Colomar2022-05-06-0/+365
| | | | Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
* README: Initial descriptionAlejandro Colomar2022-05-05-0/+35
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>