2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 07:10:16 -07:00
repo/extra/gnugrep
2023-05-13 13:57:50 -05:00
..
build *: explicit DESTDIR 2023-03-05 17:34:06 -06:00
checksums gnugrep: 3.11 2023-05-13 13:57:50 -05:00
README
sources gnugrep: 3.11 2023-05-13 13:57:50 -05:00
version gnugrep: 3.11 2023-05-13 13:57:50 -05:00

gnugrep
________________________________________________________________________________

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]
* References ............................................................. [004]


[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] References
________________________________________________________________________________

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