diff options
author | classabbyamp <void@placeviolette.net> | 2023-03-22 05:55:11 -0400 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2023-08-05 19:25:23 +0200 |
commit | 429db434a76e2931985d347ad60b7e37debbdaee (patch) | |
tree | 41549b2863f8458639e742628b26f00bbbf037b0 /README | |
parent | 2ca7afbfc5e003bc9812f32c3129a580706bb7a3 (diff) | |
download | xtools-429db434a76e2931985d347ad60b7e37debbdaee.tar.gz xtools-429db434a76e2931985d347ad60b7e37debbdaee.tar.xz xtools-429db434a76e2931985d347ad60b7e37debbdaee.zip |
xlocate: add ability to pass certain flags to git grep
implemented what I thought would be useful and made sense, namely: - `-E, --extended-regexp` - `-F, --fixed-strings` - `-G, --basic-regexp` - `-P, --perl-regexp` - `-i, --ignore-case` - `-w, --word-regexp` This will also allow for someone with `grep.patternType` or `grep.extendedRegexp` set in git's config to change the pattern type.
Diffstat (limited to 'README')
-rw-r--r-- | README | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/README b/README index 291c1a4..d481f27 100644 --- a/README +++ b/README @@ -78,12 +78,14 @@ COMMANDS - use ‘:pkgname’ to lint template as staged in the git index - use ‘:’ to lint all templates staged in the git index - xlocate -g | -S | pattern + xlocate -g | -S | [-EFGPiw] pattern – locate files in all XBPS packages -g Update a git based xlocate database, useful for local repositories -S Sync with the official git based xlocate database, which is recommended before using the tool + -E | -F | -G | -P | -i | -w + Modifies how pattern is matched. See git-grep(1) for more info xlog pkg – open commit log for XBPS template |