Paul Eggert 077b4d4099 sed: #include file cleanup
This mostly avoids including files no longer needed.
It also moves dfa.h down, and removes stat-macros.h.
* bootstrap.conf (gnulib_modules): Remove stat-macros.
* lib/.gitignore: Adjust.
* sed/compile.c: Don’t include stdio.h, sys/types.h.
stdio.h is guaranteed by sed/sed.h, and sys/types.h should
now be redundant.
* sed/debug.c: Don’t include ctype.h, stdio.h, string.h, sys/types.h.
* sed/execute.c: Don’t include stat-macros.h, ctype.h,
selinux/context.h, stdio.h, sys/types.h.
* sed/local.mk (sed/version.c): Include "version.h"
to check interface consistency.
* sed/regexp.c: Don’t include ctype.h, limits.h, stdio.h.
Do include dfa.h.
* sed/sed.c: Don’t include stdio.h, sys/types.h, unistd.h.
* sed/sed.h: Don’t include dfa.h.  Don’t include stdio.h or
unlocked-io.h, as utils.h does that for us.
* sed/utils.c: Don’t include unlocked-io.h, stdio.h, sys/types.h.
* sed/utils.h: Include unlocked-io.h instead of stdio.h.
2026-08-17 01:17:23 -07:00
2026-01-02 17:33:20 -08:00
2026-08-17 01:17:23 -07:00
2026-08-17 01:17:23 -07:00
2026-08-17 01:17:23 -07:00
2026-08-17 01:17:23 -07:00
2008-04-10 11:14:38 +02:00
2023-02-04 21:43:48 -08:00
2022-10-16 20:12:20 -07:00
2016-08-22 20:57:02 -04:00
2026-08-17 01:17:23 -07:00
2023-01-30 09:58:54 -08:00
2026-08-17 01:17:23 -07:00
2022-07-02 17:06:39 -05:00
2026-08-17 01:17:23 -07:00
2026-08-17 01:17:23 -07:00
2026-08-17 01:17:23 -07:00
2024-01-05 08:44:01 -08:00
2026-01-02 17:33:20 -08:00

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.
S
Description
SED (stream editor) - неинтерактивный текстовый редактор командной строки
https://www.gnu.org/software/sed/
Readme GPL-3.0
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%