Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Support line- & column-based match locations | Thomas Voss | 2024-01-21 | 48 | -15/+6946 | |
| | ||||||
* | Reorganize output writing | Thomas Voss | 2024-01-21 | 1 | -21/+33 | |
| | ||||||
* | Only highlight matches when cflag is set | Thomas Voss | 2024-01-21 | 1 | -1/+1 | |
| | ||||||
* | Print byte-offsets into files | Thomas Voss | 2024-01-21 | 2 | -7/+31 | |
| | ||||||
* | Remove the ‘struct chars’ type | Thomas Voss | 2024-01-20 | 1 | -6/+4 | |
| | ||||||
* | Define _POSIX_C_SOURCE on Glibc | Thomas Voss | 2024-01-20 | 1 | -0/+11 | |
| | | | | You sometimes need this for getsubopt() | |||||
* | Rename occurances of ‘pm’ to ‘rm’ | Thomas Voss | 2024-01-20 | 1 | -24/+24 | |
| | | | | ‘regex match’ makes more sense than ‘pattern match’ | |||||
* | Improve handling of the regmatch_t arg to putm() | Thomas Voss | 2024-01-20 | 1 | -16/+15 | |
| | ||||||
* | Add more color highlighting | Thomas Voss | 2024-01-20 | 2 | -12/+36 | |
| | ||||||
* | Add the -s/--strip-newline flag | Thomas Voss | 2024-01-20 | 2 | -15/+39 | |
| | ||||||
* | Refer to ‘git grab’ instead of ‘git-grab’ | Thomas Voss | 2024-01-20 | 1 | -1/+1 | |
| | ||||||
* | Add git-grab to the list of files to clean | Thomas Voss | 2024-01-19 | 1 | -1/+1 | |
| | ||||||
* | Add notice about UTF-8 | Thomas Voss | 2024-01-18 | 1 | -0/+4 | |
| | ||||||
* | Properly escape minuses | Thomas Voss | 2024-01-18 | 1 | -14/+14 | |
| | ||||||
* | Update the manual page | Thomas Voss | 2024-01-18 | 1 | -10/+82 | |
| | ||||||
* | Update cbs.h again | Thomas Voss | 2024-01-18 | 2 | -28/+28 | |
| | ||||||
* | Make Clangd/IWYU happy | Thomas Voss | 2024-01-18 | 1 | -2/+2 | |
| | ||||||
* | Remove semicolons from macro definitions | Thomas Voss | 2024-01-18 | 1 | -2/+2 | |
| | ||||||
* | Ignore *.dSYM/ directories on MacOS | Thomas Voss | 2024-01-18 | 1 | -0/+1 | |
| | ||||||
* | Fix typo | Thomas Voss | 2024-01-18 | 1 | -1/+1 | |
| | ||||||
* | Compile with REG_DOTALL when -n is not provided | Thomas Voss | 2024-01-18 | 1 | -4/+4 | |
| | ||||||
* | Add files to .gitignore | Thomas Voss | 2024-01-18 | 1 | -0/+2 | |
| | ||||||
* | Add support for UTF-8 and Unicode | Thomas Voss | 2024-01-18 | 1 | -15/+28 | |
| | ||||||
* | Increase emsg buffer size | Thomas Voss | 2024-01-18 | 1 | -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 usage | Thomas Voss | 2024-01-18 | 1 | -4/+4 | |
| | ||||||
* | Fix typos | Thomas Voss | 2024-01-18 | 1 | -2/+2 | |
| | ||||||
* | Document --no-pcre in the README | Thomas Voss | 2024-01-18 | 1 | -0/+8 | |
| | ||||||
* | Terminate the longopts in grab.c with a null row | Thomas Voss | 2024-01-18 | 1 | -0/+1 | |
| | ||||||
* | Allow long options in the build script | Thomas Voss | 2024-01-18 | 1 | -1/+7 | |
| | ||||||
* | s/debug/dflag | Thomas Voss | 2024-01-18 | 1 | -4/+3 | |
| | ||||||
* | Use pkg-config to configure PCRE | Thomas Voss | 2024-01-18 | 1 | -2/+9 | |
| | ||||||
* | Support custom CFLAGS and CC | Thomas Voss | 2024-01-18 | 1 | -16/+23 | |
| | ||||||
* | Change -p to -P and make PCRE support the default | Thomas Voss | 2024-01-18 | 1 | -6/+6 | |
| | ||||||
* | Bump cbs.h to the latest edition | Thomas Voss | 2024-01-18 | 1 | -28/+177 | |
| | ||||||
* | Simplify majorly | Thomas Voss | 2024-01-18 | 1 | -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 libcompat | Thomas Voss | 2024-01-18 | 3 | -9/+28 | |
| | ||||||
* | Remove manual escape handling | Thomas Voss | 2024-01-18 | 1 | -17/+0 | |
| | | | | This is all handled for us by the PCRE2 library | |||||
* | Wrap -f/--filenames in ‘#if GIT_GRAB’ | Thomas Voss | 2024-01-18 | 1 | -0/+2 | |
| | ||||||
* | Formatting | Thomas Voss | 2024-01-18 | 1 | -2/+2 | |
| | ||||||
* | Add optional PCRE support | Thomas Voss | 2024-01-18 | 2 | -6/+17 | |
| | ||||||
* | Add another example to the README | Thomas Voss | 2024-01-17 | 1 | -0/+10 | |
| | ||||||
* | Grab the latest version of da.h | Thomas Voss | 2024-01-17 | 2 | -23/+80 | |
| | ||||||
* | Don’t define _POSIX_C_SOURCE | Thomas Voss | 2024-01-16 | 1 | -3/+0 | |
| | ||||||
* | Document the new color configuration | Thomas Voss | 2024-01-16 | 1 | -14/+21 | |
| | ||||||
* | Switch colors to use GRAB_COLORS in GREP_COLORS-style | Thomas Voss | 2024-01-16 | 1 | -9/+61 | |
| | ||||||
* | Document -c | Thomas Voss | 2024-01-16 | 1 | -3/+24 | |
| | ||||||
* | Add -c to force colored output | Thomas Voss | 2024-01-16 | 1 | -6/+10 | |
| | ||||||
* | Fix builds on MacOS | Thomas Voss | 2024-01-16 | 1 | -4/+4 | |
| | ||||||
* | Close fds[FD_W] after dup2() | Thomas Voss | 2024-01-14 | 1 | -0/+1 | |
| | ||||||
* | Organize files into directories | Thomas Voss | 2024-01-13 | 5 | -3/+3 | |
| |