home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 2 / DATAFILE_PDCD2.iso / utilities3 / gnu_sed_rx / ChangeLog < prev    next >
Text File  |  1993-08-09  |  12KB  |  374 lines

  1. ------ sed 2.03 ------
  2.  
  3. Sat Aug  7 01:04:59 1993  Tom Lord  (lord@unix7.andrew.cmu.edu)
  4.  
  5.     * sed.c (compile_regex): report error messages for bogus
  6.     regexps.
  7.  
  8.     SEE ALSO:  ChangeLog.rx
  9.  
  10.  
  11. ------ no version information ------
  12.  
  13. Wed Jul 21 00:28:03 1993  Tom Lord  (lord@unix8.andrew.cmu.edu)
  14.  
  15.     * alloca.c: upgraded to a more recent version
  16.  
  17.     * rx.c (re_search_2): prefer matches with longer
  18.     subexpressions to those with shorter ones, giving precedence
  19.     to low numbered subexpressions.
  20.  
  21.     * rx.c (re_compile): don't free `params' if its null.
  22.  
  23. Fri Jul 16 01:12:08 1993  Tom Lord  (lord@unix8.andrew.cmu.edu)
  24.  
  25.     * rx.[ch], sed.c: rx replaces regex.
  26.  
  27.  
  28.  
  29. Thu May 27 11:13:03 1993  Tom Lord  (lord@unix3.andrew.cmu.edu)
  30.  
  31.     * sed.c (execute_program, match_addr): caught more cases
  32.     that need to be sensitive to a missing \n at EOF.
  33.  
  34. Fri May 21 00:39:22 1993  Tom Lord  (lord@unix8.andrew.cmu.edu)
  35.  
  36.     * sed.c (execute_program): apply gaumondp's patch
  37.       to fix '\xabcxs/foo/bar/'.
  38.  
  39.     * sed.c (execute_program):
  40.       If a second address is a regexp, never match it on the
  41.       same line as the first address.
  42.       
  43.     * sed.c (compile_regexp): 
  44.       Numeric ranges  x,y s.t. y < x are now treated as x,x.
  45.       There was a bug in that they were being handled like x,x+1.
  46.  
  47.     * sed.c (execute_program, read_pattern_space,
  48.       append_pattern_space) don't add newlines to lines
  49.       that don't have them.
  50.  
  51. Wed May 19 13:34:45 1993  Tom Lord  (lord@unix9.andrew.cmu.edu)
  52.  
  53.     * sed.c (compile_program): grok \\n in comments.
  54.  
  55. Mon May 17 16:34:50 1993  Tom Lord  (lord@unix9.andrew.cmu.edu)
  56.  
  57.     * alloca.c: new (standard) file
  58.  
  59.     * configure.in: AC_CONSTified
  60.  
  61.     * sed.c (compile_program): properly diagnose the error of
  62.     a missing command (e.g. sed /x/). (thanks gaumondp)
  63.  
  64.     * sed.c (compile_regexp): handle character classes correctly.
  65.     Thanks gaumondp@ERE.UMontreal.CA
  66.     and  schwab@issan.informatik.uni-dortmund.de.
  67.  
  68. Thu May  6 12:37:18 1993  Tom Lord  (lord@unix10.andrew.cmu.edu)
  69.  
  70.     * sed.c (compile_filename, execute_program): don't use
  71.     `access' or `/dev/null'.
  72.  
  73.     * sed.c (execute_program): 'N' at EOF should delete the pat buf.
  74.  
  75.     * sed.c (compile_filename): truncate, don't append files
  76.     being openned for `w' or `s///w'
  77.  
  78.     * sed.c (execute_program): -n switch shouldn't effect `i' or `c'.
  79.  
  80.     * sed.c (compile_program): don't compile unescaped newlines
  81.     into the substitution string of an `s' command (they are an error).
  82.  
  83.     * sed.c (compile_regex): correctly skip over character
  84.     sets that contain `]'.
  85.  
  86.     * sed.c (execute_program): patch from gaumondp
  87.     Correctly handle empty-string matches in the case of an `s'
  88.     command with a repeat count.
  89.  
  90.     * sed.c (compile_program): patch from gaumondp@ere.UMontreal.ca.
  91.     Don't consume characters after the label of a `b', `t' or `:' command.
  92.  
  93.     * sed.c (compile_program): unmatched open braces are an error.
  94.  
  95.     * sed.c (compile_file): when consuming an initial comment,
  96.     count lines correctly.
  97.  
  98. Wed Nov 18 02:10:58 1992  Tom Lord  (lord@unix2.andrew.cmu.edu)
  99.  
  100.     * sed.c (execute_program): Made s///p print even if -n was
  101.     specified.
  102.  
  103.     * sed.c (compile_string): Changed the type of this function to
  104.     fix a compile warning.
  105.  
  106. Wed Nov  4 17:15:34 1992  Tom Lord  (lord@unix7.andrew.cmu.edu)
  107.  
  108.     * sed.c (main): Initialize the hold area to contain "\n"
  109.     instead of "".  In execute_program, all lines are expected
  110.     to be newline terminated.  Also, if H is the first command
  111.     in the script, the result is a pattern buffer that begins
  112.     with a blank line.  Thanks to pinard@iro.umontreal.ca
  113.     (Francois Pinard) for pointing out this and many other bugs.
  114.  
  115.     * sed.c (execute_program): Fixed a case of `D' command.
  116.       Thanks Chris Weber <weber@bucknell.edu>
  117.  
  118.     * sed.c: added new tests of no_default_output to make -n work.
  119.       Thanks Andrew Herbert <andrew@werple.apana.org.au>
  120.  
  121.     * sed.c, configure.in,Makefile.in: autoconfed bcopy and const.
  122.       Thanks "J.T. Conklin" <jtc@gain.com>
  123.  
  124.     * sed.c: made prog_cur, prog_start, and prog_end unsigned so
  125.     that users could write  `sed -e s/ÿ/foo/g'.
  126.  
  127. Tue Oct 13 00:04:05 1992  Tom Lord  (lord@unix3.andrew.cmu.edu)
  128.  
  129.     * sed.c (execute_program): fixed the cycling behavior of 'D'
  130.  
  131.     * sed.c: integrated patch that closes files
  132.  
  133.     * sed.c: changed regexp syntax
  134.  
  135. Fri May 22 15:11:12 1992  Tom Lord  (lord at moriarty.bh.andrew.cmu.edu)
  136.  
  137.     * regex.c:  this is not my change, but a pointer to the fact
  138.     that karl@gnu fixed some regexp bugs that were plaguing sed.
  139.  
  140. Thu Apr 30 13:02:21 1992  Tom Lord  (lord at unix3.andrew.cmu.edu)
  141.  
  142.     * sed.c (compile_program, execute_program)
  143.     subprograms are now compiled with an explicit continuation ;)
  144.     return_v and return_i in struct vector.  execute_program
  145.     no longer recurses to execute subprograms (case '{') and now
  146.     understands a return instruction (case '{').
  147.  
  148. Tue Apr 28 17:13:04 1992  Tom Lord  (lord at unix7.andrew.cmu.edu)
  149.  
  150.     * sed.c (compile_address) added \?regexp? syntax for addresses.
  151.  
  152.     * sed.c (main) added {} intervals to the obscure regexp
  153.       syntax.
  154.  
  155.     * sed.c (compile_program)  after calling compile_address,
  156.       normalize numeric addresses (make a2.addr_number > a1.addr_number).
  157.       This is necessary because line numbers must match exactly, 
  158.       but sed does not try to match a2 until after a1 has matched,
  159.       yet a1,a2 where a2 <= a1 is defined to be equivelent to
  160.       a1,a1+1
  161.  
  162. Sat Feb 29 10:55:54 1992  David J. MacKenzie  (djm@nutrimat)
  163.  
  164.     * sed.c (usage): Document long options as starting with `--'.
  165.  
  166. Mon Dec  9 23:56:40 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  167.  
  168.     * sed.c: Include sys/types.h, for new regex.h.
  169.  
  170. Tue Nov  5 02:16:01 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  171.  
  172.     * utils.c: Change NO_VFPRINTF to VPRINTF_MISSING, for
  173.     compatibility with autoconf.
  174.  
  175. Mon Sep  2 22:02:40 1991  David J. MacKenzie  (djm at apple-gunkies)
  176.  
  177.     * sed.c (compile_regex): Treat \ as a normal character when in
  178.     a char class.
  179.  
  180. Thu Aug  8 00:15:33 1991  David J. MacKenzie  (djm at bleen)
  181.  
  182.     * Version 1.08.
  183.  
  184.     * sed.c (compile_filename): If reading a file fails, read
  185.     /dev/null instead.  It's what Unix and POSIX do, effectively.
  186.  
  187.     * sed.c (compile_regex): The 'slash' character doesn't
  188.     terminate the regex if it's in a character class.
  189.  
  190.     * sed.c (main): If given no args, or bad option, print usage
  191.     message.
  192.     (usage): New function.
  193.  
  194.     * sed.c (execute_program): Amount written for 'P' command was
  195.     wrong.  From stephend@ksr.com (Stephen Davis).
  196.  
  197. Wed Aug  7 16:51:14 1991  David J. MacKenzie  (djm at apple-gunkies)
  198.  
  199.     * sed.c (append_pattern_space): Check for buffer full before
  200.     instead of after writing to buffer.  Don't need to test for
  201.     EOF initially anymore, due to the next change.
  202.     (execute_program): For 'n' and 'N' commands, if eof is reached
  203.     in input, quit the script like Unix sed does.
  204.     Fix memory allocation problems for 'a' and 'r' commands.
  205.     (compile_program): Fix off by one error in processing comments.
  206.     All of the above are from Tapani Tarvainen, tarvaine@tukki.jyu.fi.
  207.  
  208.     * sed.c (setup_jump): Use isblank instead of testing for ' '
  209.     or '\t', for POSIX locales.
  210.  
  211.     * utils.c (ck_strdup): Renamed from strdup.
  212.     * sed.c: Change callers.
  213.  
  214.     * sed.c, utils.c: Clean up declarations and includes to get
  215.     rid of compiler warnings.
  216.  
  217.     * sed.c (main): Add long-named options.  Don't complain if -n
  218.     is given twice.
  219.  
  220. Fri Aug  2 12:33:16 1991  David J. MacKenzie  (djm at apple-gunkies)
  221.  
  222.     * configure: Support +srcdir arg.  Create config.status and
  223.     remove it and Makefile if interrupted while creating them.
  224.     * Makefile.in: Change DESTDIR to prefix.
  225.  
  226. Mon Jul 15 13:07:39 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  227.  
  228.     * sed.c (main): Add -V option to print version number.
  229.     (USAGE): Mention -V.
  230.  
  231. Mon Jul  8 01:42:22 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  232.  
  233.     * sed.c: Define bcopy in terms of memcpy if STDC_HEADERS as
  234.     well as if USG.
  235.     (compile_filename): Don't glob filename (for 'r' and 'w'
  236.     commands).  Unix sed doesn't do it and it's not very useful,
  237.     since it can only match 0 or 1 files.
  238.     (execute_program): Change '\a' to 007 since some compilers
  239.     don't recognize \a.
  240.     * utils.c: New file; code moved from sed.c.
  241.     * Replace Makefile with Makefile.in and configure.
  242.     Update README.
  243.  
  244. Tue Mar 26 13:00:48 EST 1991    Jay Fenlason (hack@gnu.ai.mit.edu)
  245.  
  246.     * sed.c