Print lines matching a pattern
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.
- Sources inherited from project SUSE:SLE-15-SP7:GA
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout SUSE:SLE-15-SP7:Update/grep && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
efgrep-warning.patch | 0000000292 292 Bytes | |
grep-3.11.tar.xz | 0001703776 1.62 MB | |
grep-3.11.tar.xz.sig | 0000000833 833 Bytes | |
grep-rpmlintrc | 0000000107 107 Bytes | |
grep.changes | 0000044594 43.5 KB | |
grep.keyring | 0000239717 234 KB | |
grep.spec | 0000003198 3.12 KB | |
profile.sh | 0000000491 491 Bytes |
Latest Revision
Ruediger Oertel (oertel)
committed
(revision 2)
- restore texinfo macros for SLE15 - export CONFIG_SHELL=/bin/sh before running configure: results in the shell script (egrep/fgrep) to receive a /bin/sh shebang instead of requiring bash (the local shell used to build). - update to 3.11: * With -P, patterns like [\d] now work again. Fixing this has caused grep to revert to the behavior of grep 3.8, in that patterns like \w and ^H go back to using ASCII rather than Unicode interpretations. However, future versions of GNU grep and/or PCRE2 are likely to fix this and change the behavior of \w and ^H back to Unicode again, without breaking [\d] as 3.10 did. - removes testsuite.patch in older distributions - update to 3.10: * With -P, \d now matches only ASCII digits, regardless of PCRE options/modes. The changes in grep-3.9 to make ^H and \w work properly had the undesirable side effect of making \d also match e.g., the Arabic digits: ٠١٢٣٤٥٦٧٨٩. With grep-3.9, -P '\d+' would match that ten-digit (20-byte) string. Now, to match such a digit, you would use \p{Nd}. Similarly, \D is now mapped to [^0-9]. - Update to grep 3.9 * With -P, some non-ASCII UTF8 characters were not recognized as word-constituent due to our omission of the PCRE2_UCP flag. * When given multiple patterns the last of which has a back-reference, grep no longer sometimes mistakenly matches lines in some cases
Comments 0