Lines Matching refs:to
48 * sed/sed.c: Fix copyright years. Change COPYRIGHT_NOTICE to
55 * sed/compile.c: Declare bool arguments as int instead to please AIX XLC.
56 * sed/execute.c: Declare bool arguments as int instead to please AIX XLC.
57 * sed/utils.c: Declare bool arguments as int instead to please AIX XLC.
58 * sed/utils.h: Declare bool arguments as int instead to please AIX XLC.
67 * configure.ac: Do not create homonymous links from builddir to srcdir.
90 * sed/Makefile.am: Order libraries according to their dependencies.
110 * configure.ac: Point to GNU project mailing lists.
171 backslash; do not accept an argument to the l command.
183 * configure.ac: Remove useless macros, switch to external gettext.
324 * sed/mbcs.c: Upgrade to GPLv3.
325 * sed/regexp.c: Upgrade to GPLv3.
326 * sed/sed.c: Upgrade to GPLv3.
327 * sed/sed.h: Upgrade to GPLv3.
328 * sed/utils.c: Upgrade to GPLv3.
329 * sed/utils.h: Upgrade to GPLv3.
330 * sed/compile.c: Upgrade to GPLv3.
331 * sed/execute.c: Upgrade to GPLv3.
332 * sed/fmt.c: Upgrade to GPLv3.
404 * sed/compile.c (get_openfile): Change second argument to char
419 * sed/compile.c (get_openfile): Change second argument to char
426 * sed/execute.c (str_append): Use is_utf8 to skip useless work.
442 * sed/compile.c (compile_program) <case 'y'>: Pass false to match_slash.
493 to subexpression" message. Debian bug 294339.
522 * sed/execute.c (do_subst): Pass less conservative value to
555 gettext, to avoid breakage under Solaris.
573 * lib/utils.c (utils_id_s): Renamed to open_files.
574 (struct id): Renamed to struct open_file.
630 (compile_program): Death to ADDR_IS_NUM2. Compile
634 (match_an_address_p): Suit to new match_address_p.
635 (execute_program): Adjust to use range_state in `c'.
665 * NEWS: Fix [\n] to match either backslash or n in POSIXLY_CORRECT mode.
667 a bit better overall, using terminology that's more similar to POSIX.
694 (brlen): Moved to mbcs.c.
716 (str_append): Keep mbstate up to date.
727 but as soon as more text is sent to the same output stream, the
731 to access the fp field, call output_missing_newline before, and
747 add the code to the end of the function and to the command `q';
748 the commands `d', `D' and `Q' thus no longer have to forge an empty
758 (get_openfile): ... special files are no longer copied to file_read
760 (fp_list): Move to sed.h (users adjusted) and rename as...
762 associated to the output stream.
858 whether the text will be processed further to remove more
875 * sed/basicdefs.h: ...to here
906 * sed/compile.c: Improvements to some error messages;
948 and super-sed for super-sed (thanks to Bruno Haible)
989 and flush before closing to check for errors
1001 * src/execute.c (reset_addresses): New function to make range
1007 on each file when using -s; renamed to test_eof
1029 bug (stop condition was *start == *end, meant to be
1034 * lib/utils.c: Added directory parameter to
1045 first (used to be "excess junk after command")
1063 * sed/execute.c (resize_line): Limit inactive space to two
1076 added to test P and D commands.
1078 added to test the new optimization done on the `s' command.
1114 * sed/execute.c (backup_file_name): New function to
1117 * sed/utils.c: Moved to lib directory
1149 call to compile_regex
1160 to support \[lLUuE].
1163 to apply the changes required via \[lLUuE].
1182 to set the exit status
1237 * configure.in: Removed crap to pick a regex engine.
1238 Added snprintf to the AC_REPLACE_FUNCS call.
1250 extended_regexp_flags to support Perl regular expressions.
1260 * sed/execute.c(do_subst): lib/regex.c(re_search_2) seems to
1267 * configure.in: tweaked version to 3.02.80; added new entries
1268 to the ALL_LINGUAS definition.
1282 and change its name to cmd_subst; add prototypes for newly
1286 * sed/compile.c: move the compile_regex() function to regex.c;
1288 rx_testing debris; rename the NOLEAKS symbol to more descriptive
1289 DEBUG_LEAKS; make cmd_regex to cmd_subst fixes (see above);
1292 * sed/execute.c: abstract out the regex matching to
1293 regex.c:match_regex(); NOLEAKS to DEBUG_LEAKS change;
1294 cmd_regex to cmd_subst structure member name change.
1297 regmatch_t to hold the backreference registers, make "offset"
1298 always be relative to the beginning of the string (rather than
1300 not_bol_p) to match_regex().
1303 (aka DEBUG_LEAKS) code attempting to release
1306 * sed/regex.c: new file --- abstracts out the interface to the
1308 compile.c and execute.c, and so as to make a change of engine
1310 like the one that used to live in compile.c), match_regex(),
1315 * sed/sed.c(main): conditionalize calls to setlocale() and
1316 textdomain() to only occur if their support is needed/wanted.
1322 so change the test for a pre-existing config.h file to an
1325 * bootstrap.sh: added -DUSE_REGEX_GNU_H option to the
1326 compiler invocation, to ensure that we get a usable
1332 to occur only if ENABLE_NLS is defined.
1337 name of xofa() function to convert_number(); change semantics
1338 to do all of the work of the text->number conversion.
1346 the call to textdomain() allocated.
1350 so be sure to FREE(buffer.text) before calling line_init();
1355 and 3.02a we lost the ability to use a newline as
1359 to cache the compiled form of the last RE --- it
1363 * testsuite/help.good: update to reflect output containing
1369 fragment of "item%s" to handle plural text.
1374 files to catch the more obvious typos...
1390 this seems to work fine with no surprises.
1398 with fall-back to atoi()).
1399 * sed/sed.c(main): attempt to use COLS environment variable
1400 to set a reasonable `lcmd_out_line_len'; added -l/--line-length
1401 command-line options to set the new `lcmd_out_line_len' flag.
1406 * configure.in: added strtoul to the AC_CHECK_FUNCS call.
1413 to set the new `force_unbuffered' flag.
1416 input to a more generic `no_buffering'; also removed HAVE_ISATTY
1421 then force a fflush() even if writing to stdout.
1426 compiled) test of `input->is_tty' to (unconditionally)
1440 * compile.c(compile_address): change default addr_number to
1447 callers in match_address_p). Added special code to ignore
1480 * configure.in: tweaked version to be 3.02b.
1488 a # to appear. (This allows for less cluttered-looking scripts,
1508 to match an initial chunk of a file without undue
1510 for the end of the sequence happens to be the first
1548 code to free all dynamically allocated memory.
1555 a more natural way to read the code than the previous
1557 a better opportunity to discover inlining possibilities.
1563 * sed/basicdefs.h: added MEMCPY() macro to hide the VCAST()s
1564 that ought to be used with memcpy().
1566 * sed/execute.c: Change calls to memcpy() to go through the
1569 to the bare type.
1571 * sed/sed.c(main): Updated calls to compile_string() to add third
1572 (length) argument. Changed call to obsolete close_all_files()
1573 to a call to the new finish_program().
1575 * sed/sed.c(map_file): Attempt to clean-up how "size" gets
1581 * sed/sed.c(map_file,unmap_file): added VCAST()s to the
1586 to fclose() _all_ open streams. (Well, almost.
1588 as I don't care to figure out how to autoconf-detect
1593 to `text_length'. Abstracted out `enum addr_types'
1595 renamed mod to num_mod. De-unionized the regex,number,
1598 of `struct sed_cmd': now a pointer to save space.
1604 * sed/sed.h, sed/compile.c, sed/execute.c: changed to
1607 `struct label' local to compile.c; `struct sed_cmd'
1608 was modified to support a simpler design for branches
1616 from "additional length" to "target length"; made
1618 * sed/execute.c(str_append): adjusted to new resize_line()
1621 REALLOC() to avoid unnecessary copying of old text; add the
1626 body) conditional on HAVE_REGNEXEC macro; adjust to new
1632 * sed/execute.c(read_file_line): use different trigger to
1643 * sed/execute.c(read_pattern_space): conditionalize call to
1645 default "line.chomped" value to more common "1", and added an
1648 argument; reorder cases to match order in enum declaration; add
1650 "addr_is_step_mod" address types; alter nul_append() call to be
1651 through ADDNUL() macro; fix to new struct member and enum
1654 to calls to match_address_p(); alter references to sed_cmd
1655 member a2 to reflect new pointer status; add new support for
1658 ADDNUL() wrapper to nul_append(); simplify replacement
1669 code]: various modifications intended to keep this
1675 * sed/compile.c: Change type of prog_info.base to decrease needs
1682 to named variables.
1683 * sed/compile.c(check_final_program): updated to
1685 Added call to compile_regex() to release unneeded
1694 * sed/compile.c(compile_regex): added mechanism to
1697 name (from setup_jump to setup_label) and prototype;
1698 changed body to reflect data structure changes.
1704 * sed/compile.c(compile_regex): Added ability to free the remembered
1706 * Made adjustments dictated by the change to struct sed_cmd which made
1707 the a2 member a pointer-to-addr instead of an addr.
1713 * sed/compile.c: Adjusted to new spelling of text_buf member
1715 * sed/compile.c(new_vector): deleted function. (Due to new handling
1720 * sed/compile.c(compile_file): added variable "map_base" to
1729 Also added code conditional on NO_INPUT_INDENT to support the
1738 adjusted to new cur_cmd->a2 pointer status; added addr_is_num2
1741 code for '{', '}', ':', 'b', and 't' to reflect new design
1743 related to the new design); added support for feature already
1744 mentioned in read_text() where {a,i,c} commands are able to have
1747 specific to individual commands (particularly 's' and 'y');
1753 Deleted references to it and added a pointer to
1760 <mdruiter@cs.vu.nl>, added "%1" to "%9" parameters.
1779 recognition loop forgot to update its concept of "prev"
1784 release was botched -- it referred to "Makefile"
1799 * Makefile.am: add BUGS and THANKS to the EXTRA_DIST target.
1806 * djgpp/config.btm: New file to support the 4DOS alternative
1807 to command.com. (Sumitted by Eli Zaretskii on behalf of
1817 * configure.in: update to beta18.
1825 * configure.in: update to beta17.
1843 * djgpp/config.sed: tweak the configure script to use :
1844 instead of = for --with-foo=bar option parsing, to
1851 a directory, it needs to be handled as the --srcdir).
1854 Add target to automake to automatically update version.good
1863 * configure.in: update to beta16. Added and commented out
1865 Added code to properly handle bare (without =xxx)
1877 * sed/compile.c(bad_prog): add more detail to error
1884 with a numeric flag to the s/// command. It used to
1889 involved were trivial, so I decided to treat it as a bug
1892 * configure.in, testsuite/version.good: update to beta15.
1901 silly machines which require isascii() to be true
1905 * configure.in, testsuite/version.good: update to beta14.
1912 are going to be using lib/regex.c.
1915 rename lib/regex.h to lib/regex-gnu.h, so that those who
1916 choose to use a different regex implementation will not
1921 to choose either lib/regex.h or the user-supplied <regex.h>,
1922 depending on the value passed to configure's --with-regex=
1928 do an AC_CHECK_FUNCS(regnexec regexec) to ensure that
1936 * djgpp/config.bat: Play games to handle "install-sh",
1944 The simplest solution was to just add these .am
1945 files. (The testsuite/Makefile.in was just renamed to
1951 Greg Ubben <gsu@romulus.ncsc.mil>, use base 16 output to
1954 * configure.in, testsuite/version.good: update to beta13.
1976 * configure.in, testsuite/version.good: update to beta12.
1995 struct sed_cmd, so that a pointer to such can be passed
1996 to new sed/compile.c(read_text) function.
1999 Tease out handling of text to a/c/i commands to new
2002 option. In particular, restore the ability to have this
2011 to match the final empty string after the end of the pattern
2013 to do a substition.
2018 to be the more appropriate AC_ARG_ENABLE(regnexec, ...).
2020 * configure.in, testsuite/version.good: update to beta11.
2026 * sed/execute.c: forgot to P_() the prototype and
2031 * sed/compile.c(snarf_char_class): added code to
2038 a AC_ARG_WITH(regnexec,...) check, to simplify use
2047 of calls to nul_append() (in match_an_address_p()
2048 and do_subst()) to permit the use of the POSIX standard
2054 available. This makes it simpler to use the system's
2060 * sed/basicdefs.h: define VCAST macros to allow sed to
2065 MEMDUP, and FREE macros to keep under control the
2074 to ck_fread() and ck_fwrite() to be [const] VOID *.
2080 the ``help'' test insensitive to the spelling of
2087 * configure, testsuite/version.good: update to beta10.
2097 testsuite/Makefile to AC_OUTPUT list.
2105 * testsuite/*: renamed files to fit 14 char limit.
2108 renamed to Makefile.in and then modified so that
2112 file name of the "w" command to be consistent with the
2120 * configure.in: specify that config.h is to be derived
2121 from config_h.in in order to avoid the braindead
2127 a better definition to the meaning of N~0 address
2138 If N<M this works out to the same as before, but the
2142 address form; added "Other Resources" node to sed.texi;
2143 minor formatting changes to some items in sed.1 with
2144 an eye to improving clarity.
2146 * configure.in, testsuite/version.good: update to beta9.
2152 * sed/compile.c(compile_regex): forgot to make last_re be
2156 it forgot to allow for the possibility that we were
2157 appending to the end of the ``line'' (instead of merely
2166 * configure.in, testsuite/version.good: update to beta8.
2181 improvement to the "Unknown command" error message.
2189 * configure.in, testsuite/version.good: update to beta7.
2198 * configure.in, testsuite/version.good: update to beta6.
2204 * sed/execute.c(do_subst): added not_bol_p variable to track when
2206 [Thanks to Jim Meyering <meyering@ascend.com> for the bug report.]
2213 just to get us bootstrapped.
2217 about what files we're bothering to compile.
2220 to beta5.
2226 * rename writeout.good? to wrtout?.good and subwrite.good? to
2227 subwrt?.good to comply with DOS 8+3 file name restrictions.
2228 [Eli Zaretskii <eliz@is.elta.co.il> suggested this to
2238 * sed/sed.c(main): remove spurious argument to fprintf() in the
2244 * sed/execute.c(do_subst): change structure assignment to memcpy()
2253 * lib/Makefile.am: updated to reflect AC_REPLACE_FUNCS change in
2256 * lib/memchr.c lib/memcmp.c: revert to standard GNU versions.
2266 * sed/Makefile.am: fix INCLUDES to work right with VPATH.
2267 [Thanks to Jim Meyering <meyering@ascend.com> for the bug report.]
2274 * configure.in: update version to 3.01-beta3.
2290 * configure.in: remove dangling references to rx library;
2296 are still pieces of glibc missing to support these, and
2302 * lib/Makefile.am: remove references to deleted files.
2303 Added forgotten reference to memcpy.c. Re-ordered
2304 SOURCE entries to reflect dependencies for systems
2307 * sed/basicdefs.h: updated to reflect above changes to lib/,
2321 structure assingment ('x' command), for portablility to
2328 definition to work on archaic systems. (Modern systems
2337 seds that aren't up to snuff.
2339 * testsuite/help.good, testsuite/version.good: update to
2347 --version output to bettery comply with GNU coding standards.
2349 * testsuite/help.good, testsuite/version.good: update to
2352 * doc/sed.texi: fix "Invoking" node's spelling to comply
2365 using official lgpl2gpl.sed script. Take care not to
2375 to work with regex instead of rx.
2378 I think it will be easier to extend regex to fully
2379 support POSIX.2 than to tune rx to be reasonable.
2384 related to the substitution of regex for rx.
2387 ``compatability'' module, changed name of library to
2391 compilation code to leave zero-sized .o file if system
2395 up-to-date (once again).
2397 * NEWS, ANNOUNCE: changes to reflect this batch of changes.
2403 being decremented below zero)! Needed to "continue"
2421 and that line number is *less than* (or equal to) the
2430 Reorganized development source tree to make creation
2432 to the various Makefile.am files and configure.in, but
2447 was being set to one inappropriately when at least one
2449 (Thanks to Simon Taylor <staylor@hermes.iaccess.com.au>
2456 there is no quick way to locate all casts in a program, I
2458 Now it is a simple matter to locate the casts, and it is
2459 also a simple matter to turn of casts for a lint session
2471 allowed a little simplification to the command-line
2474 sed.h: added (opaque) err_info member to struct vector;
2475 added comments to the members of struct vector.
2480 flagT in order to clarify what various "int"s were doing.
2481 Also makes it easy to change the type used for counts
2482 (for example, to "unsigned long long") if desired, although
2491 and all of the commands are known to be valid only for
2508 last_file_with_data_p() to detect this situation, and
2509 modified test_dollar_EOF() to make use of it.
2517 to deal with the details, and altered match_slash()
2518 to make use of it. Also created the trivial
2519 add_then_next() to avoid clutter in snarf_char_class().
2537 "struct line" was extended; comments were added to the
2538 "struct line" declartation to document some important
2548 buffering code gives insufficient feedback to a user
2552 sensitive to avoid requiring multiple EOFs to be entered
2560 Set to appropriate values if large file support needs
2562 patch to gawk by Paul Eggert <eggert@twinsun.com>
2566 * utils.c (ck_fclose): modified to ignore NULL parameter.
2570 * execute.c: tweaked execute_program() to eliminate
2575 * compile.c: added case-insensitive modifier ('I') to
2593 it is useful (when seding a binary file) to omit a trailing
2598 is that it makes sense to have each file but the last
2608 * execute.c: attempted to make read_pattern_space more
2619 and process_file() [execute.c] to make use of the new
2624 * execute.c, compile.c, configure.in: Check to see if mmap()
2632 * compile.c: modified parsing to permit whitespace in more
2634 added backslash escaping to the y/// command, per POSIX.
2637 moved body of 's' command to new function do_subst();
2638 moved body of 'l' command to new function do_list();
2639 changed output of 'l' command to conform to POSIX.2;
2640 made line handling conform to POSIX; added output_line() function;
2660 and change interface to compile_address() with an eye
2661 to making code clearer.
2666 STDC and traditional C approaches to panic().
2673 within a union, mainly to document the exclusivity;
2676 remove some #if 0 code that is too odd to keep;
2680 renamed some variables to better document their purpose;
2689 functions to take/return an incomplete type
2693 to "free_buffer()", on the premise that the new
2701 * sed.c: protected a call to add1_buffer() in
2702 compile_program() which could have tried to
2706 * utils.c: added sanity check to add1_buffer() so that
2707 EOF will not be added to the buffer.
2732 * utils.c: changed datatype of utils_id_s in order to
2742 final newline. Corrected calls to regnexec to pass the
2749 * sed.c: Use posix entry points to regexp functions.
2750 Fix enough bugs to pass the test-suite.
2773 As my contribution to the creeping feature creature in sed,
2775 which means "the line number is equal to n modulo m." The
2776 modifications to sed are trivial, and the general
2798 writes -- diagnosed by doug@research.att.com. 'r' and 'w' to
2801 /bin/sed's and the spec is hard to read so i'm not sure).
2812 Salzenberg) to get rid of compiler warnings.
2827 * alloca.c: upgraded to a more recent version
2830 subexpressions to those with shorter ones, giving precedence
2831 to low numbered subexpressions.
2844 that need to be sensitive to a missing \n at EOF.
2849 to fix '\xabcxs/foo/bar/'.
2860 append_pattern_space) don't add newlines to lines
2915 * sed.c (compile_string): Changed the type of this function to
2920 * sed.c (main): Initialize the hold area to contain "\n"
2922 to be newline terminated. Also, if H is the first command
2924 with a blank line. Thanks to pinard@iro.umontreal.ca
2930 * sed.c: added new tests of no_default_output to make -n work.
2949 * regex.c: this is not my change, but a pointer to the fact
2957 no longer recurses to execute subprograms (case '{') and now
2964 * sed.c (main) added {} intervals to the obscure regexp
2970 but sed does not try to match a2 until after a1 has matched,
2971 yet a1,a2 where a2 <= a1 is defined to be equivelent to
2984 * utils.c: Change NO_VFPRINTF to VPRINTF_MISSING, for
3012 instead of after writing to buffer. Don't need to test for
3013 EOF initially anymore, due to the next change.
3026 * sed.c, utils.c: Clean up declarations and includes to get
3036 * Makefile.in: Change DESTDIR to prefix.
3040 * sed.c (main): Add -V option to print version number.
3050 (execute_program): Change '\a' to 007 since some compilers
3062 * sed.c Changed 's' command to work with latest version of regex()
3070 * sed.c Change panic to compile with other __STDC__ compilers.
3082 a label to branch to.
3091 * sed.c Changed some function forward declarations to use VOID *
3101 * sed.c: Remove excess newlines from calls to panic.
3102 Reformat some comments to fit in 79 columns.
3103 Base whether to use void * on __STDC__, not __GNU__.
3112 * sed.c (execute_program, case 'r'): When need to realloc append.text,
3144 Changed version number to 1.06.
3148 * sed.c (compile_program) Let programs use ; to terminate } as
3151 (read_file) Print an error msg to stderr if it can't open an
3169 1.02 Fixed 't', 'b', ':' to trim leading spaces and tabs