mirror of
git://git.sv.gnu.org/sed
synced 2026-11-21 01:43:22 +03:00
6ec335494f8275243d9500554fa093ba4af43484
* sed/regexp.c (match_regex): Change type of 'ret' from int to regoff_t, to avoid truncation results larger than INT_MAX. * testsuite/regex-max-int.sh: Update this "very expensive" test to expect correct output (bbbbb) rather than exit-code-4 panic. * NEWS (Bug fixes): Mention this. The following is related but mostly incidental (--debug only). I tested via --debug, (where it generate 20GB of output!), but couldn't easily add a test case without adding a further option to suppress debug printing of each escaped input line. * sed/execute.c (do_subst): Don't cast regoff_t values to (int) for debug printing via %d. Instead, cast to (ptrdiff_t) and print via %td.
This is the GNU implementation of sed, the Unix stream editor. GNU Sed website: https://www.gnu.org/software/sed/ See the NEWS file for a brief summary and the ChangeLog for more detailed descriptions of changes. If you obtained this file as part of a "git clone", then see the README-hacking file. If this file came to you as part of a tar archive, then see the file INSTALL for compilation and installation instructions. See the file BUGS for instructions about reporting bugs. See the files AUTHORS and THANKS for a list of authors and other contributors. See the file COPYING for copying conditions. After installation run 'sed --help' or 'man sed' for short usage information, and 'info sed' for the complete manual. The manual is also available on sed's website.
Description
SED (stream editor) - неинтерактивный текстовый редактор командной строки
https://www.gnu.org/software/sed/
3 MiB
0 Stars
1 Watchers
0 Forks
Languages
Shell
43%
C
26.4%
Perl
16.5%
sed
7.3%
Makefile
5.2%
Other
1.6%