Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16de8e81 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Rename rgrep to rsgrep" am: 157e6a06

Original change: https://android-review.googlesource.com/c/platform/build/+/1599796

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia7ce01474447eceb35cb645b1ccab1a03d612ff7
parents 1ba06032 157e6a06
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ Invoke ". build/envsetup.sh" from your shell to add the following functions to y
- mangrep:    Greps on all local AndroidManifest.xml files.
- mgrep:      Greps on all local Makefiles and *.bp files.
- owngrep:    Greps on all local OWNERS files.
- rgrep:      Greps on all local Rust files.
- rsgrep:     Greps on all local Rust files.
- sepgrep:    Greps on all local sepolicy files.
- sgrep:      Greps on all local source files.
- godir:      Go to the directory containing a file.
@@ -1038,7 +1038,7 @@ function jgrep()
        -exec grep --color -n "$@" {} +
}

function rgrep()
function rsgrep()
{
    find . -name .repo -prune -o -name .git -prune -o -name out -prune -o -type f -name "*\.rs" \
        -exec grep --color -n "$@" {} +