Paolo Bonzini
a085906489
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-02-05 12:08:57 +01:00
Paolo Bonzini
727d6fa860
document that . does not match newline in multi-line mode
...
2011-11-23 Paolo Bonzini <bonzini@gnu.org >
* doc/sed-in.texi: Document how multiline mode affects matching
newlines against period. Reported by Dmitry Bolshakov.
2011-11-23 14:58:14 +01:00
Paolo Bonzini
607d56e084
document corner case of \l and \u, and simplify the code handling it
...
2011-05-27 Paolo Bonzini <bonzini@gnu.org >
* doc/sed-in.texi: Explain behavior of \l and \u at the end
of the replacement text.
* doc/sed.texi: Regenerate.
* sed/execute.c (append_replacement, do_subst): Further
simplification.
2011-05-27 09:37:25 +02:00
Paolo Bonzini
b63b148631
fix incorrect comments in the "Increment a number" example.
...
2011-05-27 Paolo Bonzini <bonzini@gnu.org >
* doc/sed-in.texi: Fix incorrect comment in the "Increment a
number" example. Reported by Wu Liang and Micah Cowan.
* doc/sed.texi: Regenerate.
2011-05-27 09:26:56 +02:00
Jari Aalto
5b1925c3c9
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:05:34 +01:00
Paolo Bonzini
3ce4f9f423
small fixes to "rename files" example
...
2010-11-10 Paolo Bonzini <bonzini@gnu.org >
* doc/sed-in.texi: Fix double negation in comment, escape
file names.
2010-12-10 08:58:24 +01:00
Paolo Bonzini
699fd06fad
Commit regenerated doc/sed.texi
2010-11-01 15:33:53 +01:00
Paolo Bonzini
8eee8cbf0e
2010-10-31 Gerald Pfeifer <gerald@pfeifer.com>
...
* doc/sed-in.texi (Extended regexps): Add '|' to the list of
differences. Note that "\|" is a GNU extension to begin with.
2010-10-31 22:56:15 +01:00
Paolo Bonzini
1c3de3387c
change bug reporting address to bug-sed@gnu.org
...
2010-09-20 Paolo Bonzini <bonzini@gnu.org >
* doc/configure.ac: Mention bug-sed@gnu.org .
* doc/sed.x: Mention bug-sed@gnu.org .
* doc/sed-in.texi: Mention bug-sed@gnu.org .
2010-10-20 19:57:09 +02:00
Paolo Bonzini
a9bf076c0b
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 12:18:50 +02:00
Paolo Bonzini
e1c76b0344
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 01:56:36 +02:00
Paolo Bonzini
9c560534c8
fix typo in the manual
...
2010-05-03 Timothy Baker <timothypaulbaker@gmail.com > (tiny change)
* doc/sed.texi (Regular expressions): Fix typo.
2010-05-03 09:27:07 +02:00
Ralf Wildenhues
84066bf615
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:18:29 +01:00
Ralf Wildenhues
0827424285
manual fixes
...
2009-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de >
* doc/sed-in.texi (Invoking sed): Add index entries for --posix,
-s, --separate.
(Other Commands): Fix typo.
* doc/sed.texi: Regenerate.
2009-10-12 11:03:58 +02:00
Paolo Bonzini
365065b1d4
document how to separate commands
...
2009-09-07 Dmitry Chistikov <dd1email@gmail.com > (tiny change)
* doc/sed-in.texi: Document how to separate commands.
2009-09-07 08:55:31 +02:00
Bake Timmons
593ca11bb8
Fix documentation typo.
...
2009-08-10 Bake Timmons <b3timmons@speedymail.org > (tiny change)
* doc/sed-in.texi: Fix typo.
2009-08-10 20:08:03 +02:00
Paolo Bonzini
feaa20792f
bump version number to 4.2.1
...
2009-06-27 Paolo Bonzini <bonzini@gnu.org >
* configure.ac: Bump version.
* NEWS: Bump version.
* gnulib: Update.
* doc/sed.1: Regenerate.
2009-06-27 15:25:59 +02:00
Paolo Bonzini
fa01dd7e73
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-26 12:13:56 +02:00
Paolo Bonzini
601f290184
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 Paolo Bonzini <bonzini@gnu.org >
2009-05-11 10:47:06 +02:00
Paolo Bonzini
5a30fa2129
bump version number
2009-05-11 09:05:08 +02:00
Paolo Bonzini
4381be08bd
bump version
2009-04-28 08:55:08 +02:00
Paolo Bonzini
8172184989
fixes after Bruno's testing
...
2009-04-27 Paolo Bonzini <bonzini@gnu.org >
* configure.ac: Link readin.in2 into builddir.
* configure: Regenerate.
* doc/Makefile.am: Do not distribute sed.html. Do not update
sed.texi if the output does not change.
* sed/Makefile.am: Order libraries according to their dependencies.
* sed/compile.c (get_openfile): Declare FAIL as int.
* sed/sed.c: Avoid printf ("") if REG_PERL is not defined.
* testsuite/eval.in2: Do not include in the repository.
* testsuite/Makefile.am: Clean always eval.in2 and never readin.in2.
* testsuite/Makefile.tests: Provide a default empty definition of TIME
and remove rules for readin.in2.
2009-04-27 10:41:56 +02:00
Paolo Bonzini
d0d16cec98
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-03-31 10:01:38 +02:00
Paolo Bonzini
ca37f7187e
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-02-17 10:35:03 +01:00
Paolo Bonzini
5dd4f61f54
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-01-28 08:54:04 +01:00
Paolo Bonzini
41e0cf2dac
add `z' extension
...
2008-09-29 Paolo Bonzini <bonzini@gnu.org >
* BUGS: Document s/.*.// behavior with invalid multibyte sequences.
* NEWS: Document `z' extension.
* doc/sed-in.texi: Document both things.
* sed/compile.c (compile_program): Recognize `z'.
* sed/execute.c (execute_program): Execute `z'.
* testsuite/Makefile.am: Add badenc test.
* testsuite/Makefile.tests: Add badenc test.
* testsuite/badenc.good: New.
* testsuite/badenc.inp: New.
* testsuite/badenc.sed: New.
2008-09-29 10:24:09 +02:00
Ralf Wildenhues
1023fa2712
drop leading whitespace from the info documentation
...
2008-08-20 Ralf Wildenhues <ralf.wildenhues@gmx.de
* doc/sed-in.texi: Drop leading whitespace where appropriate,
do not use TABs.
* doc/sed.texi: Regnerate.
2008-08-21 09:29:48 +02:00
Paolo Bonzini
3d4e73054d
remove northpark.edu address for sed FAQ
...
2008-07-21 Paolo Bonzini <bonzini@gnu.org >
* doc/sed-in.texi: Remove northpark.edu address for sed FAQ.
* doc/sed.texi: Regenerate.
2008-07-21 19:25:48 +02:00
Paolo Bonzini
3a41e1b2fe
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:23 +02:00
Paolo Bonzini
34b083cdc5
document q/Q in sed man page, improve html doc generation
...
2007-10-25 Paolo Bonzini <bonzini@gnu.org >
Mike Frysinger <vapier@gentoo.org >
* doc/sed.x (q, Q): Document argument.
* configure.ac: Remove texi2html checks.
* doc/Makefile.am: Remove rules for sed.html, always distribute it.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-97
2008-01-09 16:12:29 +01:00
Paolo Bonzini
235425fdd4
document what's a GNU extension in sed(1)
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-95
2008-01-09 16:12:27 +01:00
Paolo Bonzini
c1067081c5
switch to GPLv3
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-94
2008-01-09 16:12:27 +01:00
Paolo Bonzini
068afd076e
bump version to 4.1c and fix some warnings
...
2006-12-29 Paolo Bonzini <bonzini@gnu.org >
* sed/compile.c: Fix warnings.
* sed/execute.c: Fix warnings.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-91
2008-01-09 16:12:25 +01:00
Paolo Bonzini
a9f3dc2a2a
document --follow-symlinks
...
2006-12-16 Paolo Bonzini <bonzini@gnu.org >
* doc/sed-in.texi: Document --follow-symlinks.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-86
2008-01-09 16:12:21 +01:00
Paolo Bonzini
f6aa842534
bump version number to 4.1b
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-85
2008-01-09 16:12:21 +01:00
Paolo Bonzini
ba68fb42b8
--posix disables all extensions to regular expressions
...
2006-12-15 Paolo Bonzini <bonzini@gnu.org >
* sed/regexp.c: Disable all extensions on --posix.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-84
2008-01-09 16:12:20 +01:00
Paolo Bonzini
ca83026c92
autogenerate version.good within configure
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-81
2008-01-09 16:12:18 +01:00
Paolo Bonzini
793f376962
merge documentation fixes from debian ssed package
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-80
2008-01-09 16:12:17 +01:00
Paolo Bonzini
cba6413f07
finish gnulib conversion -- upgrade bootstrap and a few details
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-79
2008-01-09 16:12:16 +01:00
Paolo Bonzini
ac9a20b3fb
gnulibify and add ACL support
...
2006-09-24 Paolo Bonzini <bonzini@gnu.org >
* sed/execute.c: Support ACLs.
* lib/utils.c: Move...
* sed/utils.c: ... here, and remove xmalloc.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-74
2008-01-09 16:12:13 +01:00
Paolo Bonzini
3a8e165ab0
treat cygwin CR/LF correctly (and by design, not by chance)
...
2006-08-03 Paolo Bonzini <bonzini@gnu.org >
Corinna Vinschen <vinschen@redhat.com >
* lib/getline.c (getline): Remove Windows special casing.
* lib/utils.c (register_open_file, ck_fdopen): New.
(ck_fopen, ck_mkstemp): Use register_open_file.
* lib/utils.h (ck_fdopen): New.
* sed/execute.c (open_next_file): Reopen stdin.
* sed/sed.h (read_mode): New.
* sed/sed.c (read_mode): New.
(main): Set it on --binary.
(usage): Document --binary.
* sed/compile.c (get_openfile): Change second argument to char
and turn it into a string within the function. Adjust callers.
* sed/execute.c (dump_append_queue, open_next_file): Use it
as mode for ck_fopen.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-71
2008-01-09 16:12:11 +01:00
Paolo Bonzini
760bf669e6
do not mention Estonian locale in BUGS
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-67
2008-01-09 16:12:08 +01:00
Paolo Bonzini
3cfe7fdf8a
Fix compilation on non-GCC compilers, update po files
...
2006-05-15 Hans-Bernhard Bröker <broeker@physik.rwth-aachen.de >
* sed/basicdefs.h (OB_MALLOC): Turn VCAST into void * cast.
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-66
2008-01-09 16:12:07 +01:00
Paolo Bonzini
6ed57b0429
document that sed -i breaks links
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-65
2008-01-09 16:12:06 +01:00
Paolo Bonzini
034190bd22
fix for freebsd sed
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-64
2008-01-09 16:12:05 +01:00
Paolo Bonzini
ef1ea7f8bb
add install_sh definition to intl/po
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-61
2008-01-09 16:12:03 +01:00
Paolo Bonzini
de400b3b34
fix `turn filenames into lowercase' example
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-60
2008-01-09 16:12:02 +01:00
Paolo Bonzini
811c3446c6
merge with glibc regex
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-59
2008-01-09 16:12:01 +01:00
Paolo Bonzini
a8485beddc
fix sed faq address
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-58
2008-01-09 16:12:00 +01:00
Paolo Bonzini
6d02437ad8
fix typo in docs/Makefile.am
...
git-archimport-id: bonzini@gnu.org--2004b/sed--stable--4.1--patch-56
2008-01-09 16:11:58 +01:00