| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* testsuite/Makefile.am (EXTRA_DIST): Add y-zero.*,
not y-NUL.* here.
|
|
|
|
|
|
| |
* configure.ac (COPYRIGHT_YEAR): Update to 2014, so
the "version" test passes once again.
* doc/sed.1: Also commit this auto-generated-yet-VC'd file.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* sed/execute.c (do_list) [case 'y']: Handle NUL bytes
in the RHS of a y/LHS/RHS/ transliteration.
* testsuite/y-zero.good: New test-related files.
* testsuite/y-zero.inp:
* testsuite/y-zero.sed:
* testsuite/Makefile.am (SEDTESTS): Add y-zero here.
* testsuite/Makefile.tests: And here.
* NEWS (Bug fixes): Describe it.
The bug was reported by table@inventati.org,
with the execute.c change mostly by Paolo Bonzini.
|
|
|
|
|
|
| |
2014-07-24 Jose E. Marchesi <jemarch@gnu.org>
* gnulib: Update.
|
|
|
|
|
|
|
|
|
| |
of the manual.
2014-03-26 Jose E. Marchesi <jemarch@gnu.org>
* doc/sed.texi (Regular Expressions): avoid a potential
misunderstanding in the description of the \| operator.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2013-10-16 David A. Wheeler <dwheeler@dwheeler.com>
* doc/sed-in.texi: Document "-E" option to use EREs.
GNU sed already supported "-E" as an undocumented synonym
for "-r", but "-E" is now in POSIX.
See: http://austingroupbugs.net/view.php?id=528.
* doc/sed.1: Likewise.
* doc/sed.texi: Likewise.
* doc/sed.x: Likewise.
* sed/sed.c: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
| |
headers.
2013-10-06 Jose E. Marchesi <jemarch@gnu.org>
* basicdefs.h (PATH_MAX): Defined to some constant in case it is
not defined by system headers.
* sed/utils.c: Do not include pathmax.h anymore.
* bootstrap.conf (gnulib_modules): Do not use the gnulib module
pathmax.
|
|
|
|
|
|
|
|
| |
2013-09-30 Jose E. Marchesi <jemarch@gnu.org>
* doc/sed.texi (Regular Expressions): Typo: implicity numbered ->
implicitly numbered.
Reported by Arthur Budco.
|
|
|
|
|
|
|
| |
2013-07-12 Jose E. Marchesi <jemarch@gnu.org>
* doc/sed-in.texi (Extended regexps): Add an example on using | in
extended regular expressions. Suggested by Nils Barth.
|
|
|
|
|
|
|
| |
2013-02-02 Jose E. Marchesi <jemarch@gnu.org>
* gnulib: Update.
* configure.ac (COPYRIGHT_YEAR): Updated to 2013.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Automake-provided parallel testsuite harness take care of
redirection the stdout and stderr of the run test cases to a
corresponding log file, so we no longer have to worry about
avoiding to pollute the "make test" output.
* testsuite/runtest: Adjust and simplify.
Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is better than the older test driver. It is also the default now,
starting from Automake 1.13; so having it enabled unconditionally will
allow GNU sed to be seamlessly bootstrapped by Automake 1.13.
* configure.ac (AM_INIT_AUTOMAKE): Add 'parallel-tests' option. Also
require Automake 1.11.1, since that is the minimal version to have a
sane 'parallel-tests' support.
(AC_PREREQ): Bump requirement to 2.62, since that is the minimal
version required by Automake 1.11.1.
* testsuite/Makefile.am (TESTS_ENVIRONMENT): Remove the invocation
for the test runner "$(srcdir)/runtest"; it's correct place is ...
(LOG_COMPILER): ... here.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Without this change, trying to bootstrap GNU sed from a freshly-cloned
Git checkout aborts with an error like this:
./bootstrap: aclocal --force -I m4 ...
./bootstrap: autoconf --force ...
configure.ac:20: error: possibly undefined macro: gl_DISABLE_THREADS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
* bootstrap.conf (gnulib_modules): Add 'threadlib'.
Copyright-paperwork-exempt: yes
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
|
| |
|
|
|
|
|
|
|
| |
2012-12-21 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Bump version number. Replace COPYRIGHT_YEAR.
* Makefile.am (dist-hook): Revert 2010-08-10 change.
|
|
|
|
|
|
|
|
|
| |
2012-12-21 Paolo Bonzini <bonzini@gnu.org>
* autoboot: Rename to bootstrap.
* autoboot.conf: Rename to bootstrap.conf.
* README.boot: Remove.
* Makefile.am: Remove README.boot, add bootstrap and bootstrap.conf.
|
|
|
|
|
|
|
| |
2012-12-21 Paolo Bonzini <bonzini@gnu.org>
* gnulib: Update.
* testsuite/version.gin: Regenerate.
|
|
|
|
|
|
|
|
| |
2012-12-21 Paolo Bonzini <bonzini@gnu.org>
* doc/sed.texi: Regenerate.
* doc/sed.1: Regenerate.
* po/sed.pot: Regenerate.
|
|
|
|
|
|
|
| |
2012-07-25 Paolo Bonzini <bonzini@gnu.org>
* doc/sed-in.texi: Document difference between "e" and "r"
commands.
|
|
|
|
|
| |
* Makefile.am (noinst_DATA, dist-hook): build failed after git clean -dfx
finish bootstrap.sh removal.
|
|
|
|
|
|
|
|
|
|
|
| |
2012-04-13 Paolo Bonzini <bonzini@gnu.org>
* sed/compile.c (convert_number): Remove default_char argument,
expect buf to point to it. Remove maxdigits argument and compute
it on the fly.
(normalize_text): Unify calls to convert_number under the convert
label. For TEXT_REPLACEMENT add a backslash to the output if
convert_number returns ch == '&'.
|
|
|
|
|
|
| |
2012-03-16 Paolo Bonzini <bonzini@gnu.org>
* testsuite/version.gin: Regenerate.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-03-16 Paolo Bonzini <bonzini@gnu.org>
* basicdefs.h (P_): Remove.
* sed/compile.c: Adjust.
* sed/execute.c: Likewise.
* sed/fmt.c: Likewise.
* sed/sed.c: Likewise.
* sed/sed.h: Likewise.
* sed/utils.c: Likewise.
* sed/utils.h: Likewise.
|
|
|
|
|
|
|
|
|
|
|
| |
2012-03-16 Paolo Bonzini <bonzini@gnu.org>
* basicdefs.h (FREE): Remove.
* sed/compile.c: Adjust.
* sed/execute.c: Adjust.
* sed/regexp.c: Adjust.
* sed/utils.c: Adjust, remove ck_free.
* sed/utils.h: Adjust, remove ck_free.
|
|
|
|
|
|
|
|
|
|
|
| |
2012-03-16 Paolo Bonzini <bonzini@gnu.org>
* basicdefs.h (CAST, VCAST, VOID, MEMCPY, MEMMOVE): Rip out.
* sed/compile.c: Adjust.
* sed/execute.c: Adjust.
* sed/regexp.c: Adjust.
* sed/utils.c: Adjust.
* sed/utils.h: Adjust.
|
|
|
|
|
|
|
|
| |
2012-03-16 Paolo Bonzini <bonzini@gnu.org>
* sed/execute.c: Unconditionally compile for MBCS.
* sed/mbcs.c: Unconditionally compile for MBCS.
* sed/sed.h: Unconditionally compile for MBCS.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-03-16 Paolo Bonzini <bonzini@gnu.org>
* basicdefs.h: Enjoy gnulib's headers.
* sed/compile.c: Likewise.
* sed/execute.c: Likewise.
* sed/regexp.c: Likewise.
* sed/sed.c: Likewise.
* sed/sed.h: Likewise.
* sed/utils.c: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
| |
2012-03-16 Paolo Bonzini <bonzini@gnu.org>
* bootstrap.sh.in: Remove.
* bootstrap.sh: Remove.
* configure.ac: Do not create bootstrap.sh.
* basicdefs.h [BOOTSTRAP]: Remove guards.
* sed/execute.c [BOOTSTRAP]: Remove guards.
* sed/sed.c [BOOTSTRAP]: Remove guards.
* sed/sed.h [BOOTSTRAP]: Remove guards.
|
|
|
|
|
|
| |
2012-03-16 Paolo Bonzini <bonzini@gnu.org>
* gnulib: Update.
|
|
|
|
|
|
|
| |
2012-03-16 Paolo Bonzini <bonzini@gnu.org>
* doc/sed.x: Document address behavior across input files.
* doc/sed.1: Regenerate.
|
|
|
|
| |
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
| |
2012-02-13 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Test whether fopen("foo", "rt") works.
* sed/compile.c: Do not open scripts with "rt" mode if it doesn't.
* sed/sed.c: Never open input files with "rt" mode.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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-08-29 Paolo Bonzini <bonzini@gnu.org>
* sed/sed.c (usage): Fix documentation for -i. Reported by
Dennis Bartlett.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
If one line in a file has length (including newline) of 231, then
applying sed -i to that file truncates it to size 0. I first
noticed it like this: Create a file with line of length 231-1
$ perl -le 'print "v"x(2**31-1)' > k
Then prepend a byte to that line:
$ sed -i 's/^/v/' k
Surprise! The file is empty.
* sed/utils.c (ck_getline): Declare "result" to be of type ssize_t,
rather than int, to match the return type of getline.
|
|
|
|
|
|
|
|
|
|
|
| |
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-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 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-03-11 Paolo Bonzini <bonzini@gnu.org>
* sed/compile.c (normalize_text): Clang analyzer cleanup.
* sed/execute.c (append_replacement, do_subst): Same.
* sed/utils.c (ck_getline): Same.
|
|
|
|
|
|
| |
2010-11-13 Jari Aalto <jari.aalto@cante.net>
* doc/sed.x: Order commands alphabetically.
|
|
|
|
|
|
|
| |
2010-11-10 Paolo Bonzini <bonzini@gnu.org>
* doc/sed-in.texi: Fix double negation in comment, escape
file names.
|
|
|
|
|
| |
* basicdefs.h (ISDIGIT): Avoid compiler warning on cygwin.
* sed/compile.c (normalize_text): Avoid undefined behavior.
|
|
|
|
| |
* sed/sed.c (includes): Supply missing header.
|
|
|
|
| |
* sed/sed.c (includes): Supply missing header.
|
|
|
|
|
|
|
|
|
| |
2010-11-01 Paolo Bonzini <bonzini@gnu.org>
* autoboot.conf: Replace gettext with gettext-h. Suggested by
Gerald Pfeifer and Eric Blake.
* configure.ac: Downgrade minimum requested version of gettext
to 0.17.
|
| |
|
| |
|