mirror of
git://git.sv.gnu.org/sed
synced 2026-11-19 15:26:19 +03:00
1e096959acb85dce4d4dad56334a077e615e23dd
* sed/compile.c: Include minmax.h. Do not include ctype.h. (convert_number): Examine starting at BUF, not at BUF + 1; caller changed. Use a clearer way to stop the loop, which involves addition not multiplication. Always store the resulting integer, not a byte taken possibly from after end of input. (normalize_text): Do not go past end of input. Treat incomplete \c, \d, \o, and \x escapes like other unrecognized escapes. Use c_toupper, not toupper, to avoid glitches in Turkish locales. * testsuite/normalize-text.sh: Test the fixed behavior, removing a TODO. * testsuite/recursive-escape-c.sh: Adjust to new behavior.
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%