diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-22 00:20:16 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-05-22 00:20:18 +0200 |
commit | 526dc2bdb22e66457785fc112c531031bc1584fa (patch) | |
tree | 4f65159c372ff9d19660027b1e13c9fe61d1aece /scripts | |
parent | 5df3f900a0293fae6eb4285733702c01741b40c9 (diff) |
bash_aliases: Add reference to grepc(1)
grepc(1) has some of the features implemented in our bash_aliases,
and then some. It also is shorter to type, and has a rich set of
command line options.
Link: <http://www.alejandro-colomar.es/src/alx/alx/grepc.git/>
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/bash_aliases | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/bash_aliases b/scripts/bash_aliases index 5d1b891bd..a9608e359 100644 --- a/scripts/bash_aliases +++ b/scripts/bash_aliases @@ -42,6 +42,8 @@ function sed_rm_ccomments() # printing the filename, line number, and the prototype. # It should be run from the root of the linux kernel source tree. # Usage example: .../linux$ grep_syscall openat2; +# +# See also: grepc(1) function grep_syscall() { @@ -69,6 +71,8 @@ function grep_syscall() # printing the filename, line number, and the function definition. # It should be run from the root of the linux kernel source tree. # Usage example: .../linux$ grep_syscall_def openat2; +# +# See also: grepc(1) function grep_syscall_def() { @@ -209,6 +213,8 @@ function man_gitstaged() # printing the filename, line number, and the prototype. # It should be run from the root of the glibc source tree. # Usage example: .../glibc$ grep_glibc_prototype printf; +# +# See also: grepc(1) function grep_glibc_prototype() { |