12 Commits
Author SHA1 Message Date
Pádraig Brady 3a7fdd5f0a avoid reopening stdin
This adjusts the change made in 3a8e165a,
to not reopen stdin on platforms where there
is no separate "binary mode".

That added some overhead and also precludes the
use of tools like `stdbuf -i...`.

* execute.c (open_next_file): Only reopen stdin on windos.
2011-07-04 12:44:54 +02:00
Jari Aalto fd0da133a7 order command alphabetically in man page
2010-11-13  Jari Aalto  <jari.aalto@cante.net>

	* doc/sed.x: Order commands alphabetically.
2010-12-13 14:09:19 +01:00
Paolo Bonzini a4fb8b02e0 fix typo in the manual
2010-05-03  Timothy Baker  <timothypaulbaker@gmail.com> (tiny change)

	* doc/sed.texi (Regular expressions): Fix typo.
2010-08-30 11:10:12 +02:00
Paolo Bonzini 0567fdb243 fix imprecision in the documentation of `D'
2010-08-17  Paolo Bonzini  <bonzini@gnu.org>

	Fix imprecision in the documentation of `D'.
	* doc/sed-in.texi (D command): Fix documentation of behavior for
	pattern space ending with \n and with no other newline.
	Reported by Randall Cotton.
	* doc/sed.x (D command): Fix documentation of behavior for
	pattern space ending with \n and with no other newline.
	* doc/sed.texi: Regenerate.
	* doc/sed.1: Regenerate.

2010-07-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2010-08-17 02:00:05 +02:00
Bake Timmons 026b129c6a Fix documentation typo.
2009-08-10  Bake Timmons  <b3timmons@speedymail.org> (tiny change)

	* doc/sed-in.texi: Fix typo.
2009-08-10 20:09:11 +02:00
Paolo Bonzini f94164fd9f fix bug with s/[[[]//
2009-05-11  Paolo Bonzini  <bonzini@gnu.org>

	* sed/compile.c (snarf_char_class): Fix logic bug with [[[ in regular
	expressions (and a possibly uninitialized use of variable delim stemming
	from the bug).  Uninitialized variable bug reported by Zhongxing Xu.
	* testsuite/brackets.good: New.
	* testsuite/brackets.inp: New.
	* testsuite/brackets.sed: New.
	* testsuite/Makefile.am: Add test.
	* testsuite/Makefile.tests: Add test.
2009-05-11 10:56:05 +02:00
Paolo Bonzini 23933b640d clarify description of ^ and $ in the manual
2008-07-10  Paolo Bonzini  <bonzini@gnu.org>

        * doc/sed-in.texi: Make the description of ^ and $ more precise.
        * doc/sed.texi: Regenerate.
2008-07-11 14:12:53 +02:00
Paolo Bonzini 561f677dda gnulibification and other sed merges
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-69
   don't rely on malloc(0) != NULL

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-71
   treat cygwin CR/LF correctly (and by design, not by chance)

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-72
   fix cygwin binary mounts

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-73
   accept NUL for `.'

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-74
   gnulibify and add ACL support

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-75
   more gnulib fixes, ensure regex tests use gnulib regex

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-76
   gnulibify part 2, use gnulib-tool in autoboot and remove PO files from repo

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-77
   always set LINGUAS, even if --skip-po

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-31
2008-01-09 16:18:50 +01:00
Paolo Bonzini 9acbf498e4 merge with sed--stable--4.1
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-60
   fix `turn filenames into lowercase' example

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-61
   add install_sh definition to intl/po

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-26
2008-01-09 16:14:04 +01:00
Paolo Bonzini bb3c41042c sync with sed--stable--4.1
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-45
   do not add a default command-line in in-place editing mode

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-47
   fix handling of [^]xyz]

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-48
   add cache variable for -lcP test

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-49
   update FSF address

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-50
   more updates to the FSF address

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-51
   merge regex with glibc and adjust doc/.arch-inventory

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-52
   fix 0~2, signaled by Guglielmo Bondioni

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-53
   provide a better name for the man page

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-55
   remove RCS markers

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-56
   fix typo in docs/Makefile.am

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-57
   add LANG_SORBIAN and other mingw fixes

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-58
   fix sed faq address

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-24
2008-01-09 16:14:03 +01:00
Paolo Bonzini bfb9f502b4 merge with sed--stable--4.1
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-39
   make --enable-html enable building .html files, not just installing

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-40
   add Ulrich Drepper to the THANKS file

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-41
   include config.h from within obstack.h

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-17
2008-01-09 16:14:00 +01:00
Paolo Bonzini 9c9919efe2 initial import
(automatically generated log message)

git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--base-0
2004-10-20 21:42:31 +00:00