|/
|\ISS               Tidbits  Posts  Answers  Install  Wiki  Contact  Donate  GitHub


gnugrep                                                              version 3.7
________________________________________________________________________________

grep is a command-line utility for searching plain-text data sets for lines that
match a regular expression. Its name comes from the ed command g/re/p (globally
search for a regular expression and print matching lines), which has the same
effect. grep was originally developed for the Unix operating system, but later
available for all Unix-like systems and some others such as OS-9. [0]

Upstream: https://www.gnu.org/software/grep/


[000] Index
________________________________________________________________________________

* Installation ........................................................... [001]
* Setup .................................................................. [002]
* Usage .................................................................. [003]
* History ................................................................ [004]
* References ............................................................. [005]


[001] Installation
________________________________________________________________________________

+------------------------------------------------------------------------------+
|                                                                              |
|  $ kiss b gnugrep                                                            |
|                                                                              |
+------------------------------------------------------------------------------+


[002] Setup
________________________________________________________________________________

To use GNU grep as the system grep, the alternatives system must be used. The
GNU grep implementation is very fast [1] and is recommended over the default
provided by busybox.

+------------------------------------------------------------------------------+
|                                                                              |
|  $ kiss a gnugrep /usr/bin/grep                                              |
|  $ kiss a gnugrep /usr/bin/egrep                                             |
|  $ kiss a gnugrep /usr/bin/fgrep                                             |
|                                                                              |
+------------------------------------------------------------------------------+

To undo these changes run 'kiss a', find the relevant output and run the
corresponding commands. Each line of output from 'kiss a' is a valid command
to give back to 'kiss a'.


[003] Usage
________________________________________________________________________________

Refer to the manual pages and command help output.


[004] History
________________________________________________________________________________

2021-08-15 f54b67e7 gnugrep: 3.7
2021-07-18 a63b2d5b gnugrep: update for new env
2021-07-15 a9e4715b gnugrep: use VERSION
2021-07-10 81972355 gnugrep: fix trailing whitespace
2021-07-01 10596fb9 gnugrep: remove usage of install
2021-06-30 698a8065 gnugrep: add to extra


[005] References
________________________________________________________________________________

[0] https://en.wikipedia.org/wiki/Grep
[1] https://lists.freebsd.org/pipermail/freebsd-current/2010-August/019310.html


________________________________________________________________________________

Dylan Araps (C) 2019-2021

The registered trademark Linux(R) is used pursuant to a sublicense from the
Linux Foundation, the exclusive licensee of Linus Torvalds, owner of the mark
on a world­wide basis.