grep - Print lines matching a pattern

Property Value
Distribution openSUSE Leap 15.0
Repository openSUSE Oss all
Package name grep
Package version 3.1
Package release lp150.2.10
Package architecture x86_64
Package type rpm
Installed size 881.58 KB
Download size 327.16 KB
Official Mirror
The grep command searches one or more input files for lines containing a
match to a specified pattern.  By default, grep prints the matching lines.


Package Version Architecture Repository
grep - - -


Name Value
info - - -


Name Value
base:/usr/bin/grep -
grep = 3.1-lp150.2.10
grep(x86-64) = 3.1-lp150.2.10


Type URL
Binary Package grep-3.1-lp150.2.10.x86_64.rpm
Source Package grep-3.1-lp150.2.10.src.rpm

Install Howto

Install grep rpm package:

# zypper install grep




2018-02-22 -
- Use %license (boo#1082318)
2017-07-03 -
- Update to grep 3.1
* grep '[0-9]' is now just as fast as grep '[[:digit:]]' when run
in a multi-byte locale
* Context no longer excludes selected lines omitted because of -m
2017-06-01 -
- Use https url's
- Drop no longer needed explicit pie
- Enable profiled build
2017-02-11 -
- Update to version 3.0:
* grep without -F no longer goes awry when given two or more
patterns that contain no special characters other than '\' and
also contain a subpattern like '\.' that escapes a character to
make it ordinary.
* grep no longer fails to build on PCRE versions before 8.20.
- Cleanup spec file:
* Drop support for old distributions
* Create lang subpackage
* Use fdupes to replace duplicate files with symlinks
2017-02-08 -
- Update to version 2.28:
* Improve performance for -E or -G pattern lists that are easily
converted to -F format.
* Fix performance regression with multiple patterns.
* When standard output is /dev/null, grep no longer fails when
standard input is a file in the Linux /proc file system, or when
standard input is a pipe and standard output is in append mode.
* When grep -Fo finds matches of differing length, it could
mistakenly print a shorter one.  Now it prints a longest one.
- Drop upstreamed proc-lseek-glitch.patch
2016-12-12 -
- testsuite.patch: remove
- proc-lseek-glitch.patch: work around proc lseek glitch
2016-12-07 -
- Update to grep 2.27
* grep no longer reports a false match in a multibyte, non-UTF8 locale
like zh_CN.gb18030, with a regular expression like ".*7" that just
happens to match the 4-byte representation of gb18030's \uC9, the
final byte of which is the digit "7".
* grep by default now reads all of standard input if it is a pipe,
even if this cannot affect grep's output or exit status.
* grep no longer mishandles ranges in nontrivial unibyte locales.
* grep -P no longer attempts multiline matches.
* grep -m0 -L PAT FILE now outputs "FILE".
* To output ':' and tab-align the following character C, grep -T no
longer outputs tab-backspace-':'-C, an approach that has problems if
run inside an Emacs shell window.
* grep -T now uses worst-case widths of line numbers and byte offsets
instead of guessing widths that might not work with larger files.
* grep no longer reads the input in a few more cases when it is easy to
see that matching cannot succeed, e.g., 'grep -f /dev/null'.
2016-10-28 -
- grep 2.26:
* no longer omit output merely because it follows an output line
suppressed due to encoding errors
* In the Shift_JIS locale, no longer mistakenly match in the
middle of a multibyte character
* grep can be much faster now when standard output is /dev/null.
* grep -F is now typically much faster when many patterns are
given, as it now uses the Aho-Corasick algorithm instead of
the Commentz-Walter algorithm in that case.
* grep -iF is typically much faster in a multibyte locale, if
the pattern and its case counterparts contain only single byte
* grep with complicated expressions (e.g., back-references) and
without -i now uses the regex fastmap for better performance.
* In multibyte locales, grep now handles leading "." in patterns
more efficiently.
* grep now prints a "FILENAME:LINENO: " prefix when diagnosing
an invalid regular expression that was read from an
'-f'-specified file.
2016-04-22 -
- grep 2.25:
* In the C or POSIX locale, grep now treats all bytes as valid
characters even if the C runtime library says otherwise.
( Fixes yast2-users and other build failures - boo#966780 )
* grep -oz now uses null bytes, not newlines, to terminate output
* grep now outputs details more consistently when reporting a
write error.

See Also

Package Description
grep-lang-3.1-lp150.2.10.noarch.rpm Translations for package grep
grepmail-5.3104-lp150.1.3.noarch.rpm Search Mailboxes for a Particular E-Mail
grfcodec-6.0.6-lp150.1.4.x86_64.rpm A suite of programs to modify Transport Tycoon Deluxe's GRF files
gri-2.12.23-lp150.1.7.x86_64.rpm A language for scientific illustration
grilo-devel-0.3.4-lp150.1.10.x86_64.rpm Framework for browsing and searching media content -- Development Files
grilo-lang-0.3.4-lp150.1.10.noarch.rpm Translations for package grilo
grilo-plugin-dleyna-0.3.5-lp150.2.1.x86_64.rpm Media discovering and browsing framework -- dLeyna Plugin
grilo-plugin-tracker-0.3.5-lp150.2.1.x86_64.rpm Media discovering and browsing framework -- Tracker Plugin
grilo-plugin-youtube-0.3.5-lp150.2.1.x86_64.rpm Media discovering and browsing framework -- Youtube Plugin
grilo-plugins-0.3.5-lp150.2.1.x86_64.rpm Media discovering and browsing framework -- Media and Metadata Plugins
grilo-plugins-lang-0.3.5-lp150.2.1.noarch.rpm Translations for package grilo-plugins
grilo-tools-0.3.4-lp150.1.10.x86_64.rpm Framework for browsing and searching media content -- Tools
groff-1.22.3-lp150.3.1.x86_64.rpm GNU troff Document Formatting System
groff-doc-1.22.3-lp150.3.14.noarch.rpm HTML documentation and examples for groff
groff-full-1.22.3-lp150.3.14.x86_64.rpm GNU troff Document Formatting System