Up to [cvs.NetBSD.org] / pkgsrc / textproc / gsed
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.33 / (download) - annotate - [select for diffs], Fri May 19 14:12:18 2023 UTC (4 months, 1 week ago) by jperkin
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, HEAD
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)
gsed: Fix build on SunOS/i386.
Revision 1.32 / (download) - annotate - [select for diffs], Wed May 10 20:40:47 2023 UTC (4 months, 3 weeks ago) by schmonz
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)
Conditionalize more fully whether sed.1 is generated. Fixes regular build on at least FreeBSD 13.x, and confirmed to build (both forks of the conditional) on NetBSD and macOS.
Revision 1.31 / (download) - annotate - [select for diffs], Wed Apr 12 11:20:40 2023 UTC (5 months, 2 weeks ago) by wiz
Changes since 1.30: +4 -1 lines
Diff to previous 1.30 (colored)
gsed: install proper man page The package installed a stub man page because it needs perl to generate the proper one and perl needs sed to build, so we can't depend on it. Copy out a version generated by a build with perl and use that. Bump PKGREVISION.
Revision 1.30 / (download) - annotate - [select for diffs], Wed Nov 16 10:41:36 2022 UTC (10 months, 2 weeks ago) by wiz
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.29: +4 -4 lines
Diff to previous 1.29 (colored)
gsed: update to 4.9. * Noteworthy changes in release 4.9 (2022-11-06) [stable] ** Bug fixes 'sed --follow-symlinks -i' no longer loops forever when its operand is a symbolic link cycle. [bug introduced in sed 4.2] a program with an execution line longer than 2GB can no longer trigger an out-of-bounds memory write. using the R command to read an input line of length longer than 2GB can no longer trigger an out-of-bounds memory read. In locales using UTF-8 encoding, the regular expression '.' no longer sometimes fails to match Unicode characters U+D400 through U+D7FF (some Hangul Syllables, and Hangul Jamo Extended-B) and Unicode characters U+108000 through U+10FFFF (half of Supplemental Private Use Area plane B). [bug introduced in sed 4.8] I/O errors involving temp files no longer confuse sed into using a FILE * pointer after fclosing it, which has undefined behavior in C. ** New Features The 'r' command now accepts address 0, allowing inserting a file before the first line. ** Changes in behavior Sed now prints the less-surprising variant in a corner case of POSIX-unspecified behavior. Before, this would print "n". Now, it prints "X": printf n | sed 'sn\nnXn'; echo
Revision 1.29 / (download) - annotate - [select for diffs], Tue Oct 26 11:21:55 2021 UTC (23 months ago) by nia
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)
textproc: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./textproc/convertlit/distinfo clit18src.zip
Revision 1.28 / (download) - annotate - [select for diffs], Thu Oct 7 15:01:02 2021 UTC (23 months, 3 weeks ago) by nia
Changes since 1.27: +1 -2 lines
Diff to previous 1.27 (colored)
textproc: Remove SHA1 hashes for distfiles
Revision 1.27 / (download) - annotate - [select for diffs], Mon Jan 27 10:37:33 2020 UTC (3 years, 8 months ago) by wiz
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)
gsed: update to 4.8. * Noteworthy changes in release 4.8 (2020-01-14) [stable] ** Bug fixes "sed -i" now creates temporary files with correct umask (limited to u=rwx). Previously sed would incorrectly set umask on temporary files, resulting in problems under certain fuse-like file systems. [bug introduced in sed 4.2.1] ** Release distribute gzip-compressed tarballs once again ** Improvements a year's worth of gnulib development, including improved DFA performance
Revision 1.26 / (download) - annotate - [select for diffs], Wed Feb 13 19:53:52 2019 UTC (4 years, 7 months ago) by wiz
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored)
gsed: update to 4.7. * Noteworthy changes in release 4.7 (2018-12-20) [stable] ** Bug fixes Some uses of \b in the C locale and with the DFA matcher would fail, e.g., the following would mistakenly print "123-x" instead of "123": echo 123-x|LC_ALL=C sed 's/.\bx//' Using a multibyte locale or certain regexp constructs (some ranges, backreferences) would avoid the bug. [bug introduced in sed 4.6]
Revision 1.25 / (download) - annotate - [select for diffs], Fri Dec 21 16:33:37 2018 UTC (4 years, 9 months ago) by ryoon
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.24: +5 -6 lines
Diff to previous 1.24 (colored)
Update to 4.6 Changelog: * Noteworthy changes in release 4.6 (2018-12-19) [stable] ** Improvements sed now prints a clear error message when r/R/w/W (and s///w) commands are missing a filename. Previously, w/W commands would fail with confusing error message, while r/R would be a silent no-op. sed now uses fully-buffered output (instead of line-buffered) when writing to files. This should noticeably improve performance of "sed -i" and other write commands. Buffering can be disabled (as before) with "sed -u". sed in non-cygwin windows environments (e.g. mingw) now properly handles '\n' newlines in -b/--binary mode. ** Bug fixes sed no longer accesses invalid memory (heap overflow) when given invalid backreferences in 's' command [bug#32082, present at least since sed-4.0.6]. sed no longer adds extraneous NUL when given s/$//n command. [related to bug#32271, present since sed-4.0.7] sed no longer accesses invalid memory (heap overflow) with s/$//n regexes. [bug#32271, present since sed-4.3]. ** New Features New option, --debug: print the input sed script in canonical form and annotate program execution.
Revision 1.24 / (download) - annotate - [select for diffs], Fri Apr 27 14:16:23 2018 UTC (5 years, 5 months ago) by wiz
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.23: +5 -5 lines
Diff to previous 1.23 (colored)
gsed: update to 4.5. * Noteworthy changes in release 4.5 (2018-03-31) [stable] ** Bug fixes sed now fails when matching very long input lines (>2GB). Before, sed would silently ignore the regex without indicating an error. [Bug present at least since sed-3.02] sed no longer rejects comments and closing braces after y/// commands. [Bug existed at least since sed-3.02] sed -E --posix no longer ignores special meaning of '+','?','|' . [Bug introduced in the original implementation of --posix option in v4.1a-5-gba68fb4] sed -i now creates selinux context based on the context of the symlink instead of the symlink target. [Bug present since at least sed-4.2] sed -i --follow-symlinks remains unchanged. sed now treats the sequence '\x5c' (ASCII 92, backslash) as literal backslash character, not as an escape prefix character. [Bug present since sed-3.02.80] Old behavior: $ echo z | sed -E 's/(z)/\x5c1/' # identical to 's/(z)/\1/' z New behavior: $ echo z | sed -E 's/(z)/\x5c1/' \1
Revision 1.23 / (download) - annotate - [select for diffs], Sun Feb 5 19:01:42 2017 UTC (6 years, 7 months ago) by wiz
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.22: +5 -6 lines
Diff to previous 1.22 (colored)
Updated gsed to 4.4. * Noteworthy changes in release 4.4 (2017-02-03) [stable] ** Bug fixes sed could segfault when invoked with specific combination of newlines in the input and regex pattern. [Bug introduced in sed-4.3]
Revision 1.22 / (download) - annotate - [select for diffs], Mon Jan 16 11:45:14 2017 UTC (6 years, 8 months ago) by wiz
Changes since 1.21: +7 -6 lines
Diff to previous 1.21 (colored)
Updated gsed to 4.3. * Noteworthy changes in release 4.3 (2016-12-30) [stable] ** Improvements sed's regular expression matching is now typically 10x faster sed now uses unlocked-io where available, resulting in faster I/O operations. ** Bug fixes sed no longer mishandles anchors ^/$ in multiline regex (s///mg) with -z option (NUL terminated lines). [Bug introducted in sed-4.2.2 with the initial implementation of -z] sed no longer accepts a ":" command without a label; before, it would treat that as defining a label whose name is empty, and subsequent label-free "t" and "b" commands would use that label. Now, sed emits a diagnostic and fails for that invalid construct. sed no longer accesses uninitialized memory when processing certain invalid multibyte sequences. Demonstrate with this: echo a | LC_ALL=ja_JP.eucJP valgrind sed/sed 's/a/b\U\xb2c/' The error appears to have been introduced with the sed-4.0a release. The 'y' (transliterate) operator once again works with a NUL byte on the RHS. E.g., sed 'y/b/\x00/' now works like tr b '\0'. GNU sed has never before recognized \x00 in this context. However, sed-3.02 and prior did accept a literal NUL byte in the RHS, which was possible only when reading a script from a file. For example, this: echo abc|sed -f <(printf 'y/b/\x00/\n')|cat -A is what stopped working. [bug introduced some time after sed-3.02 and prior to the first sed-4* test release] When the closed-above line number ranges of N editing commands overlap (N>1), sed would apply commands 2..N to the line just beyond the largest range endpoint. [bug introduced some time after sed-4.09 and prior to release in sed-4.1] Before, this command would mistakenly modify line 5: $ seq 6|sed '2,4d;2,3s/^/x/;3,4s/^/y/' 1 yx5 6 Now, it does not: $ seq 6|sed '2,4d;2,3s/^/x/;3,4s/^/y/' 1 5 6 An erroneous sed invocation like "echo > F; sed -i s//b/ F" no longer leaves behind a temporary file. Before, that command would create a file alongside F with a name matching /^sed......$/ and fail to remove it. sed --follow-symlinks now works again for stdin. [bug introduced in sed-4.2.2] sed no longer elides invalid bytes in a substitution RHS. Now, sed copies such bytes into the output, just as Perl does. [bug introduced in sed-4.1 -- it was also present prior to 4.0.6] sed no longer prints extraneous character when a backslash follows \c. '\c\\' generates control character ^\ (ASCII 0x1C). Other characters after the second backslash are rejected (e.g. '\c\d'). [bug introduced in the sed-4.0.* releases] sed no longer mishandles incomplete multibyte sequences in s,y commands and valid multibyte SHIFT-JIS characters in character classes. Previously, the following commands would fail: LC_ALL=en_US.UTF-8 sed $'s/\316/X/' LC_ALL=ja_JP.shiftjis sed $'/[\203]/]/p' [bug introduced some time after sed-4.1.5 and before sed-4.2.1] ** Feature removal The "L" command (format a paragraph like the fmt(1) command would) has been listed in the documentation as a failed experiment for at least 10 years. That command is now removed. ** Build-related "make dist" now builds .tar.xz files, rather than .tar.gz ones. xz is portable enough and in wide-enough use that distributing only .tar.xz files is enough. It has been fine for coreutils, grep, diffutils and parted for a few years. ** New Features new --sandbox option rejects programs with r/w/e commands. * Noteworthy changes in release 4.2.2 (2012-12-22) [stable] * don't misbehave (truncate input) for lines of length 2^31 and longer * fix endless loop on incomplete multibyte sequences * -u also does unbuffered input, rather than unbuffered output only * New command `F' to print current input file name * sed -i, s///w, and the `w' and `W' commands also obey the --binary option (and create CR/LF-terminated files if the option is absent) * --posix fails for scripts (or fragments as passed to the -e option) that end in a backslash, as they are not portable. * New option -z (--null-data) to separate lines by ASCII NUL characters. * \x26 (and similar escaped sequences) produces a literal & in the replacement argument of the s/// command, rather than including the matched text.
Revision 1.21 / (download) - annotate - [select for diffs], Wed Nov 4 01:59:30 2015 UTC (7 years, 10 months ago) by agc
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)
Add SHA512 digests for distfiles for textproc category Problems found locating distfiles: Package cabocha: missing distfile cabocha-0.68.tar.bz2 Package convertlit: missing distfile clit18src.zip Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
Revision 1.20 / (download) - annotate - [select for diffs], Thu Jul 17 12:24:34 2014 UTC (9 years, 2 months ago) by ryoon
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored)
Fix SCO OpenServer 5.0.7/3.2 build.
Revision 1.19 / (download) - annotate - [select for diffs], Wed Jan 23 14:31:30 2013 UTC (10 years, 8 months ago) by adam
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)
Switch EXTRACT_SUFX to .tar.bz2 to conserve bits!
Revision 1.18 / (download) - annotate - [select for diffs], Sun Jan 6 00:35:40 2013 UTC (10 years, 8 months ago) by wiz
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)
Update to 4.2.2: Sed 4.2.2 * don't misbehave (truncate input) for lines of length 2^31 and longer * fix endless loop on incomplete multibyte sequences * -u also does unbuffered input, rather than unbuffered output only * New command `F' to print current input file name * sed -i, s///w, and the `w' and `W' commands also obey the --binary option (and create CR/LF-terminated files if the option is absent) * --posix fails for scripts (or fragments as passed to the -e option) that end in a backslash, as they are not portable. * New option -z (--null-data) to separate lines by ASCII NUL characters. * \x26 (and similar escaped sequences) produces a literal & in the replacement argument of the s/// command, rather than including the matched text.
Revision 1.17 / (download) - annotate - [select for diffs], Sun May 2 11:09:41 2010 UTC (13 years, 5 months ago) by wiz
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)
Update to 4.2.1: Sed 4.2.1 * fix parsing of s/[[[[[[[[// * security contexts are preserved by -i too under SELinux * temporary files for sed -i are not made group/world-readable until they are complete
Revision 1.16 / (download) - annotate - [select for diffs], Sat Aug 8 21:26:49 2009 UTC (14 years, 1 month ago) by wiz
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.15: +4 -9 lines
Diff to previous 1.15 (colored)
Update to 4.2: * now released under GPLv3 * added a new extension `z` to clear pattern space even in the presence of invalid multibyte sequences * a preexisting GNU gettext installation is needed in order to compile GNU sed with NLS support * new option --follow-symlinks, available when editing a file in-place. This option may not be available on some systems (in this case, the option will *not* be a no-op; it will be completely unavailable). In the future, the option may be added as a no-op on systems without symbolic links at all, since in this case a no-op is effectively indistinguishable from a correct implementation. * hold-space is reset between different files in -i and -s modes. * multibyte processing fixed * the following GNU extensions are turned off by --posix: options [iImMsSxX] in the `s' command, address kinds `FIRST~STEP' and `ADDR1,+N' and `ADDR1,~N', line address 0, `e' or `z' commands, text between an `a' or `c' or `i' command and the following backslash, arguments to the `l' command. --posix disables all extensions to regular expressions. * fixed bug in 'i\' giving a segmentation violation if given alone. * much improved portability * much faster in UTF-8 locales * will correctly replace ACLs when using -i * will now accept NUL bytes for `.'
Revision 1.15 / (download) - annotate - [select for diffs], Wed Dec 19 13:27:20 2007 UTC (15 years, 9 months ago) by rillig
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)
Fixed a typo in the patch for regcomp.
Revision 1.14 / (download) - annotate - [select for diffs], Wed Dec 19 00:11:26 2007 UTC (15 years, 9 months ago) by rillig
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored)
Fixed the build on Solaris with the Sun C compiler. Like many other pieces of GNU software, this package makes use of GCC extensions. Another thing is that on Solaris, <stdbool.h> may only be included by the c99 compiler, not any other; therefore we need to define our boolean type ourself.
Revision 1.13 / (download) - annotate - [select for diffs], Tue Apr 10 19:44:27 2007 UTC (16 years, 5 months ago) by joerg
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)
Kill a completely bogus fragment of configure (also dead upstream) and fix the issue in po/Makefile.in.in directly.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Mar 8 18:53:57 2007 UTC (16 years, 6 months ago) by wiz
CVS Tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.11: +6 -7 lines
Diff to previous 1.11 (colored)
Update to 4.1.5: Sed 4.1.5 * fix parsing of a negative character class not including a closed bracket, like [^]] or [^]a-z]. * fix parsing of [ inside an y command, like y/[/A/. * output the result of commands a, r, R when a q command is found. ---------------------------------------------------------------------------- Sed 4.1.4 * \B correctly means "not on a word boundary" rather than "inside a word" * bugfixes for platform without internationalization * more thorough testing framework for tarballs (`make full-distcheck') ---------------------------------------------------------------------------- Sed 4.1.3 * regex addresses do not use leftmost-longest matching. In other words, /.\+/ only looks for a single character, and does not try to find as many of them as possible like it used to do. * added a note to BUGS and the manual about changed interpretation of `s|abc\|def||', and about localization issues. * fixed --disable-nls build problems on Solaris. * fixed `make check' in non-English locales. * `make check' tests the regex library by default if the included regex is used (regex tests had to be enabled separately up to now). ---------------------------------------------------------------------------- Sed 4.1.2 * fix bug in 'y' command in multi-byte character sets * fix severe bug in parsing of ranges with an embedded open bracket * fix off-by-one error when printing a "bad command" error
Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 7 16:59:00 2006 UTC (17 years, 5 months ago) by jlam
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)
Remove patch made unnecessary by makeinfo replacement script.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 24 14:48:42 2005 UTC (18 years, 7 months ago) by agc
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)
Add RMD160 digests to the SHA1 ones.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 7 11:33:10 2004 UTC (19 years, 2 months ago) by seb
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.8: +5 -3 lines
Diff to previous 1.8 (colored)
Update to version 4.1.1. Disable the config.status overriding, it causes config.status to be rerun... FYI an alternative would be to use GNU make! Changes since last packaged version: Sed 4.1.1 * preserve permissions of in-place edited files * yield an error when running -i on terminals or other non regular files * do not interpret - as stdin when running in in-place editing mode * fix bug that prevented 's' command modifiers from working
Revision 1.8 / (download) - annotate - [select for diffs], Fri Jun 25 15:17:55 2004 UTC (19 years, 3 months ago) by seb
Changes since 1.7: +3 -5 lines
Diff to previous 1.7 (colored)
Update to version 4.1. Package changes: * remove inclusion of converters/libiconv/buildlink3.mk, devel/gettext-lib/builtin.mk will take care of that if needed. Changes since last packaged version (4.0.9): * // matches the last regular expression even in POSIXLY_CORRECT mode. * change the way we treat lines which are not terminated by a newline. Such lines are printed without the terminating newline (as before) but as soon as more text is sent to the same output stream, the missing newline is printed, so that the two lines don't concatenate. The behavior is now independent from POSIXLY_CORRECT because POSIX actually has undefined behavior in this case, and the new implementation arguably gives the ``least expected surprise''. Thanks to Stepan Kasal for the implementation. * documentation improvements, with updated references to the POSIX.2 specification * error messages on I/O errors are better, and -i does not leave temporary files around (e.g. when running ``sed -i'' on a directory). * escapes are accepted in the y command (for example: y/o/\n/ transforms o's into newlines) * -i option tries to set the owner and group to the same as the input file * `L' command is deprecated and will be removed in sed 4.2. * line number addresses are processed differently -- this is supposedly conformant to POSIX and surely more idiot-proof. Line number addresses are not affected by jumping around them: they are activated and deactivated exactly where the script says, while previously 5,8b 1,5d would actually delete lines 1,2,3,4 and 9 (!). * multibyte characters are taken in consideration to compute the operands of s and y, provided you set LC_CTYPE correctly. They are also considered by \l, \L, \u, \U, \E. * [\n] matches either backslash or 'n' when POSIXLY_CORRECT. * new option --posix, disables all GNU extensions. POSIXLY_CORRECT only disables GNU extensions that violate the POSIX standard. * options -h and -V are not supported anymore, use --help and --version. * removed documentation for \s and \S which worked incorrectly * restored correct behavior for \w and \W: match [[:alnum:]_] and [^[:alnum:]_] (they used to match [[:alpha:]_] and [^[:alpha:]_] * the special address 0 can only be used in 0,/RE/ or 0~STEP addresses; other cases give an error (you are hindering portability for no reason if specifying 0,N and you are giving a dead command if specifying 0 alone). * when a \ is used to escape the character that would terminate an operand of the s or y commands, the backslash is removed before the regex is compiled. This is left undefined by POSIX; this behavior makes `s+x\+++g' remove occurrences of `x+', consistently with `s/x\///g'. (However, if you enjoy yourself trying `s*x\***g', sed will use the `x*' regex, and you won't be able to pass down `x\*' while using * as the delimiter; ideas on how to simplify the parser in this respect, and/or gain more coherent semantics, are welcome).
Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 10 08:54:14 2004 UTC (19 years, 7 months ago) by grant
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)
remove a rogue trailing /, fixes build problem reported by Alex Gontcharov on tech-pkg. fix from Charlie Allom.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 21 22:53:22 2004 UTC (19 years, 8 months ago) by wiz
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)
Update to 4.09: * 0 address behaves correctly in single-file (-i and -s) mode. * documentation improvements. * tested with many hosts and compilers. * updated regex matcher from upstream, with many bugfixes and speedups. * the `N' command's feature that is detailed in the BUGS file was disabled by the first change below in sed 4.0.8. The behavior has now been restored, and is only enabled if POSIXLY_CORRECT behavior is not requested.
Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 13 16:36:21 2003 UTC (19 years, 9 months ago) by seb
Changes since 1.4: +3 -4 lines
Diff to previous 1.4 (colored)
Update to version 4.08. Changes since 4.07: * fix `sed n' printing the last line twice. * fix incorrect error message for invalid character classes. * fix segmentation violation with repeated empty subexpressions. * fix incorrect parsing of ^ after escaped (. * more comprehensive test suite (and with many expected failures...) Please note that since NetBSD's sed is available in a portable version in pkgsrc as textproc/nbsed, and in bootstrap-pkgsrc I do not consider this package as being low in the dependencies food-chain anymore. This is especially true for platforms other than NetBSD. So let me explicitly add dependencies on libiconv and gettext-lib packages (if needed of course).
Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 7 23:27:19 2003 UTC (19 years, 11 months ago) by heinz
CVS Tags: pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)
Add TEST_TARGET and fix tests on Solaris
Revision 1.3 / (download) - annotate - [select for diffs], Sat Jun 14 00:04:55 2003 UTC (20 years, 3 months ago) by grant
Changes since 1.2: +5 -5 lines
Diff to previous 1.2 (colored)
Update gsed to 4.0.7. changes since 3.02: 4.0.7 Changes: This version fixes some rare infinite loops and wrong results that occurred when the s command had a numeric option and the regular expression could match the empty string. 4.0.6 Changes: This release improves portability a lot, and adds a configure-time switch to choose between the included regex matcher and the system matcher (on glibc systems only). 4.0.5 Changes: This release fixes a few portability bugs and improves the quality of the documentation. "a", "i", "l", "L", and "=" now accept address ranges. 4.0.3 Changes: A packaging problem with two missing translation catalogs was fixed. 4.0.2 Changes: This release makes sed able to bootstrap itself on operating systems that cannot run the configure script. 4.0.1 Changes: This release includes translations for over 20 languages, and cleans up the binary and documentation files from references to super-sed. 4.0 Changes: This release has been merged with super-sed and supports all of its features, except for Perl regular expressions. This includes in-place editing, new sed commands, better documentation, and support for changing the case of the characters with the `s' command. The performance and correctness of the regular expression matcher have also been improved.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 29 12:30:07 2001 UTC (21 years, 11 months ago) by seb
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6-1-base, netbsd-1-6-1, netbsd-1-6, netbsd-1-5-PATCH003, buildlink2-base, buildlink2
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)
To avoid build dependencies on auto* tools a patch on configure script (manually regenerated from patched configure.in) is added, AUTOMAKE_OVERRIDE is also defined hence custom pre-configure target is removed. To avoid useless makeinfo run sed.info, version.texi and stamp-vti are added to AUTOMAKE_PATTERNS (this also fix a hidden and forgotten build dependency on ../../devel/gtexinfo). While here my email address as maintainer is updated.
Revision 126.96.36.199 / (download) - annotate - [select for diffs] (vendor branch), Tue Jun 26 12:45:38 2001 UTC (22 years, 3 months ago) by wiz
CVS Tags: pkgsrc-base
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)
Initial import of gsed-3.02, GNU sed. Packaged by Stoned Elipot, and sent via pkg/13238; for use with Zoularis.
Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 26 12:45:38 2001 UTC (22 years, 3 months ago) by wiz
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.