aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix typoThomas Voss 2024-01-181-1/+1
|
* Compile with REG_DOTALL when -n is not providedThomas Voss 2024-01-181-4/+4
|
* Add files to .gitignoreThomas Voss 2024-01-181-0/+2
|
* Add support for UTF-8 and UnicodeThomas Voss 2024-01-181-15/+28
|
* Increase emsg buffer sizeThomas Voss 2024-01-181-1/+1
| | | | | 128 should be enough, but the PCRE grep implementation by the grep developers use 256, so that might be a safer bet.
* Decrease macro usageThomas Voss 2024-01-181-4/+4
|
* Fix typosThomas Voss 2024-01-181-2/+2
|
* Document --no-pcre in the READMEThomas Voss 2024-01-181-0/+8
|
* Terminate the longopts in grab.c with a null rowThomas Voss 2024-01-181-0/+1
|
* Allow long options in the build scriptThomas Voss 2024-01-181-1/+7
|
* s/debug/dflagThomas Voss 2024-01-181-4/+3
|
* Use pkg-config to configure PCREThomas Voss 2024-01-181-2/+9
|
* Support custom CFLAGS and CCThomas Voss 2024-01-181-16/+23
|
* Change -p to -P and make PCRE support the defaultThomas Voss 2024-01-181-6/+6
|
* Bump cbs.h to the latest editionThomas Voss 2024-01-181-28/+177
|
* Simplify majorlyThomas Voss 2024-01-181-50/+10
| | | | | | | | mkoutpath() is only ever called with one argument so it doesn’t need to be variadic. Additionally I only care about supporting MacOS, Linux, and the BSDs, and all of them support strlcat()*. * Linux doesn’t ship a libc, but both Glibc and Musl ship strlcat()
* Simplify code using libcompatThomas Voss 2024-01-183-9/+28
|
* Remove manual escape handlingThomas Voss 2024-01-181-17/+0
| | | | This is all handled for us by the PCRE2 library
* Wrap -f/--filenames in ‘#if GIT_GRAB’Thomas Voss 2024-01-181-0/+2
|
* FormattingThomas Voss 2024-01-181-2/+2
|
* Add optional PCRE supportThomas Voss 2024-01-182-6/+17
|
* Add another example to the READMEThomas Voss 2024-01-171-0/+10
|
* Grab the latest version of da.hThomas Voss 2024-01-172-23/+80
|
* Don’t define _POSIX_C_SOURCEThomas Voss 2024-01-161-3/+0
|
* Document the new color configurationThomas Voss 2024-01-161-14/+21
|
* Switch colors to use GRAB_COLORS in GREP_COLORS-styleThomas Voss 2024-01-161-9/+61
|
* Document -cThomas Voss 2024-01-161-3/+24
|
* Add -c to force colored outputThomas Voss 2024-01-161-6/+10
|
* Fix builds on MacOSThomas Voss 2024-01-161-4/+4
|
* Close fds[FD_W] after dup2()Thomas Voss 2024-01-141-0/+1
|
* Organize files into directoriesThomas Voss 2024-01-135-3/+3
|
* Support glob arguments to git-grabThomas Voss 2024-01-132-10/+41
|
* Document git-grabThomas Voss 2024-01-131-0/+21
|
* Fix usage string for git-grabThomas Voss 2024-01-131-1/+1
|
* Update manual dateThomas Voss 2024-01-131-1/+1
|
* Add the git-grab.1 manualThomas Voss 2024-01-132-1/+2
|
* Initialize debug to falseThomas Voss 2024-01-131-1/+1
|
* Add git-grab for integrating with Git.Thomas Voss 2024-01-123-11/+91
|
* Add exampleThomas Voss 2024-01-121-0/+4
|
* Update the grab(1) manualThomas Voss 2024-01-121-1/+50
|
* Sort optionsThomas Voss 2024-01-121-1/+1
|
* Add the streq() helper macroThomas Voss 2024-01-121-2/+3
|
* Prefer nullptr over NULLThomas Voss 2024-01-121-6/+7
|
* Add the env_or_default() helper functionThomas Voss 2024-01-121-9/+12
|
* Allow the use of env-vars to customize colorsThomas Voss 2024-01-121-3/+13
|
* Respect -z when printing filenamesThomas Voss 2024-01-111-2/+2
|
* Add the -f flagThomas Voss 2024-01-111-7/+11
|
* Make the whole *FLAGS stuff nicerThomas Voss 2024-01-111-7/+9
|
* Print filenames when ≥2 files are provided (with color support)Thomas Voss 2024-01-111-20/+33
|
* Import assert.h before C23Thomas Voss 2024-01-111-4/+4
| | | | In C23, static_assert has become a keyword instead of a macro.