20 Commits
Author SHA1 Message Date
Mike Frysinger ae8338ee1e sed(1): document address behavior across input files
2012-03-16  Paolo Bonzini  <bonzini@gnu.org>

	* doc/sed.x: Document address behavior across input files.
	* doc/sed.1: Regenerate.
2012-03-16 09:44:28 +01:00
Paolo Bonzini ee2a5bd0fa add -z/--null-data
2012-02-05  Paolo Bonzini  <bonzini@gnu.org>
            Jim Hill  <gjthill@gmail.com>

	* autoboot.conf: Change getline to getdelim.
	* doc/sed-in.texi: Document -z/--null-data.
	* doc/sed.texi: Regenerate.
	* sed/execute.c: Change '\n' to buffer_delimiter.
	* sed/sed.c: Add support for -z/--null-data.
	* sed/sed.h: Add buffer_delimiter.
	* sed/utils.c: Change ck_getline to ck_getdelim.
	* sed/utils.h: Change ck_getline to ck_getdelim.
	* NEWS: Document new option.
2012-03-16 08:50:10 +01: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 157f5391e0 use version-etc-fsf
2010-08-30  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.am (dist-hook): Remove COPYRIGHT_YEAR check.
	* autoboot.conf (gnulib_modules): Add version-etc-fsf.
	* configure.ac (COPYRIGHT_YEAR): Remove.  Change package name to
	"GNU sed".
	* doc/sed.1: Regenerate.
	* sed/sed.c (AUTHORS): New.
	(main): Use version_etc.
2010-08-30 14:06:44 +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
Ralf Wildenhues 0ae2f2809b add F command.
2009-11-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>

	* doc/sed.texi (Extended Commands): Document F command.
	* doc/sed-in.texi: Regenerate.
	* sed/compile.c (compile_program): Accept 'F' if not --posix.
	* sed/execute.c (open_next_file): Always initialize in_file_name.
	(execute_program): Handle 'F'.
	* configure.ac: Bump SED_FEATURE_VERSION.
	* NEWS: Update.
2009-12-27 17:20:11 +01:00
Paolo Bonzini 3817efe1dd preserve security contexts too on sed -i
2009-06-25  Paolo Bonzini  <bonzini@gnu.org>

	* autoboot.conf: Add selinux-h.
	* execute.c: Copy over file creation context before creating a new file.
2009-06-25 20:53:47 +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 a47e642f46 improve `sed --version' output
2009-03-31  Paolo Bonzini  <bonzini@gnu.org>

	* sed/sed.c (contact): New.
	(usage): From here.
	(main): Use it for `sed --version' too.

        * configure.ac: Point to GNU project mailing lists.
        * sed/sed.c (contact): Use PACKAGE_BUGREPORT.
        * testsuite/version.gin: Likewise.
        * testsuite/version.good: Regenerate.
        * doc/sed.1: Regenerate.

        * bootstrap.sh.in (PACKAGE_BUGREPORT): New.
        * bootstrap.sh: Regenerate.
2009-04-27 12:07:38 +02:00
Paolo Bonzini 1955fc850f include homepage URL in help messages.
2009-02-17  Paolo Bonzini  <bonzini@gnu.org>

	* sed/sed.c (usage): Print homepage URL.
	* testsuite/version.gin: Update.
2009-04-27 12:06:07 +02:00
Paolo Bonzini 9497348a67 do not print the bug report address when --help is printed and exit status != 0
2009-01-28  Paolo Bonzini  <bonzini@gnu.org>

	* sed/sed.c (usage): Only print the bug report address for `sed --help'.
	(main): Print it for `sed --version' too.
	* testsuite/version.gin: Adapt.
	* testsuite/Makefile.tests: Refine help message test.
2009-04-27 12:04:38 +02:00
Paolo Bonzini 6cbea7cb7b merge from GNU sed up to patch-97
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-94
   switch to GPLv3

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-95
   document what's a GNU extension in sed(1)

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-96
   fix cross-device links with --follow-symlinks

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-97
   document q/Q in sed man page, improve html doc generation

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-40
2008-01-09 16:18:57 +01:00
Paolo Bonzini b8d58d678d merge from CVS sed
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-83
   don't download bad translations

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-84
   --posix disables all extensions to regular expressions

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-85
   bump version number to 4.1b

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-86
   document --follow-symlinks

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-87
   fixes from Ralf Wildenhues

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-35
2008-01-09 16:18:53 +01:00
Paolo Bonzini 1fc0a80a1a merge from GNU sed patch-{80,81,82} and from debian ssed package
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-80
   merge documentation fixes from debian ssed package

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-81
   autogenerate version.good within configure

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-82
   fix my own braindead-ness

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-34
2008-01-09 16:18:53 +01: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 c51e083c7b rebuild sed.1
git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-25
2008-01-09 16:14:03 +01:00
Paolo Bonzini a1f54d8aa8 bump version number
git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-18
2008-01-09 16:14:01 +01:00
Paolo Bonzini a1286e5f6e fix more gettext 0.14 fallout
Patches applied:

 * bonzini@gnu.org--2004b/sed--stable--4.1--patch-18
   more portability improvements

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-10
2008-01-09 16:13:51 +01:00
Paolo Bonzini a620e7d5fb initial ssed import
Patches applied:

 * bonzini@gnu.org--2004/sed--stable--4.1--base-0
   initial import

git-archimport-id: bonzini@gnu.org--2004b/sed--ssed--3.61--patch-1
2008-01-09 16:13:48 +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