home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / WIN_NT / SED.ZIP / CHANGELO < prev    next >
Text File  |  1993-05-27  |  12KB  |  346 lines

  1. Thu May 27 11:13:03 1993  Tom Lord  (lord@unix3.andrew.cmu.edu)
  2.  
  3.     * sed.c (execute_program, match_addr): caught more cases
  4.     that need to be sensitive to a missing \n at EOF.
  5.  
  6. Fri May 21 00:39:22 1993  Tom Lord  (lord@unix8.andrew.cmu.edu)
  7.  
  8.     * sed.c (execute_program): apply gaumondp's patch
  9.       to fix '\xabcxs/foo/bar/'.
  10.  
  11.     * sed.c (execute_program):
  12.       If a second address is a regexp, never match it on the
  13.       same line as the first address.
  14.       
  15.     * sed.c (compile_regexp): 
  16.       Numeric ranges  x,y s.t. y < x are now treated as x,x.
  17.       There was a bug in that they were being handled like x,x+1.
  18.  
  19.     * sed.c (execute_program, read_pattern_space,
  20.       append_pattern_space) don't add newlines to lines
  21.       that don't have them.
  22.  
  23. Wed May 19 13:34:45 1993  Tom Lord  (lord@unix9.andrew.cmu.edu)
  24.  
  25.     * sed.c (compile_program): grok \\n in comments.
  26.  
  27. Mon May 17 16:34:50 1993  Tom Lord  (lord@unix9.andrew.cmu.edu)
  28.  
  29.     * alloca.c: new (standard) file
  30.  
  31.     * configure.in: AC_CONSTified
  32.  
  33.     * sed.c (compile_program): properly diagnose the error of
  34.     a missing command (e.g. sed /x/). (thanks gaumondp)
  35.  
  36.     * sed.c (compile_regexp): handle character classes correctly.
  37.     Thanks gaumondp@ERE.UMontreal.CA
  38.     and  schwab@issan.informatik.uni-dortmund.de.
  39.  
  40. Thu May  6 12:37:18 1993  Tom Lord  (lord@unix10.andrew.cmu.edu)
  41.  
  42.     * sed.c (compile_filename, execute_program): don't use
  43.     `access' or `/dev/null'.
  44.  
  45.     * sed.c (execute_program): 'N' at EOF should delete the pat buf.
  46.  
  47.     * sed.c (compile_filename): truncate, don't append files
  48.     being openned for `w' or `s///w'
  49.  
  50.     * sed.c (execute_program): -n switch shouldn't effect `i' or `c'.
  51.  
  52.     * sed.c (compile_program): don't compile unescaped newlines
  53.     into the substitution string of an `s' command (they are an error).
  54.  
  55.     * sed.c (compile_regex): correctly skip over character
  56.     sets that contain `]'.
  57.  
  58.     * sed.c (execute_program): patch from gaumondp
  59.     Correctly handle empty-string matches in the case of an `s'
  60.     command with a repeat count.
  61.  
  62.     * sed.c (compile_program): patch from gaumondp@ere.UMontreal.ca.
  63.     Don't consume characters after the label of a `b', `t' or `:' command.
  64.  
  65.     * sed.c (compile_program): unmatched open braces are an error.
  66.  
  67.     * sed.c (compile_file): when consuming an initial comment,
  68.     count lines correctly.
  69.  
  70. Wed Nov 18 02:10:58 1992  Tom Lord  (lord@unix2.andrew.cmu.edu)
  71.  
  72.     * sed.c (execute_program): Made s///p print even if -n was
  73.     specified.
  74.  
  75.     * sed.c (compile_string): Changed the type of this function to
  76.     fix a compile warning.
  77.  
  78. Wed Nov  4 17:15:34 1992  Tom Lord  (lord@unix7.andrew.cmu.edu)
  79.  
  80.     * sed.c (main): Initialize the hold area to contain "\n"
  81.     instead of "".  In execute_program, all lines are expected
  82.     to be newline terminated.  Also, if H is the first command
  83.     in the script, the result is a pattern buffer that begins
  84.     with a blank line.  Thanks to pinard@iro.umontreal.ca
  85.     (Francois Pinard) for pointing out this and many other bugs.
  86.  
  87.     * sed.c (execute_program): Fixed a case of `D' command.
  88.       Thanks Chris Weber <weber@bucknell.edu>
  89.  
  90.     * sed.c: added new tests of no_default_output to make -n work.
  91.       Thanks Andrew Herbert <andrew@werple.apana.org.au>
  92.  
  93.     * sed.c, configure.in,Makefile.in: autoconfed bcopy and const.
  94.       Thanks "J.T. Conklin" <jtc@gain.com>
  95.  
  96.     * sed.c: made prog_cur, prog_start, and prog_end unsigned so
  97.     that users could write  `sed -e s/ /foo/g'.
  98.  
  99. Tue Oct 13 00:04:05 1992  Tom Lord  (lord@unix3.andrew.cmu.edu)
  100.  
  101.     * sed.c (execute_program): fixed the cycling behavior of 'D'
  102.  
  103.     * sed.c: integrated patch that closes files
  104.  
  105.     * sed.c: changed regexp syntax
  106.  
  107. Fri May 22 15:11:12 1992  Tom Lord  (lord at moriarty.bh.andrew.cmu.edu)
  108.  
  109.     * regex.c:  this is not my change, but a pointer to the fact
  110.     that karl@gnu fixed some regexp bugs that were plaguing sed.
  111.  
  112. Thu Apr 30 13:02:21 1992  Tom Lord  (lord at unix3.andrew.cmu.edu)
  113.  
  114.     * sed.c (compile_program, execute_program)
  115.     subprograms are now compiled with an explicit continuation ;)
  116.     return_v and return_i in struct vector.  execute_program
  117.     no longer recurses to execute subprograms (case '{') and now
  118.     understands a return instruction (case '{').
  119.  
  120. Tue Apr 28 17:13:04 1992  Tom Lord  (lord at unix7.andrew.cmu.edu)
  121.  
  122.     * sed.c (compile_address) added \?regexp? syntax for addresses.
  123.  
  124.     * sed.c (main) added {} intervals to the obscure regexp
  125.       syntax.
  126.  
  127.     * sed.c (compile_program)  after calling compile_address,
  128.       normalize numeric addresses (make a2.addr_number > a1.addr_number).
  129.       This is necessary because line numbers must match exactly, 
  130.       but sed does not try to match a2 until after a1 has matched,
  131.       yet a1,a2 where a2 <= a1 is defined to be equivelent to
  132.       a1,a1+1
  133.  
  134. Sat Feb 29 10:55:54 1992  David J. MacKenzie  (djm@nutrimat)
  135.  
  136.     * sed.c (usage): Document long options as starting with `--'.
  137.  
  138. Mon Dec  9 23:56:40 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  139.  
  140.     * sed.c: Include sys/types.h, for new regex.h.
  141.  
  142. Tue Nov  5 02:16:01 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  143.  
  144.     * utils.c: Change NO_VFPRINTF to VPRINTF_MISSING, for
  145.     compatibility with autoconf.
  146.  
  147. Mon Sep  2 22:02:40 1991  David J. MacKenzie  (djm at apple-gunkies)
  148.  
  149.     * sed.c (compile_regex): Treat \ as a normal character when in
  150.     a char class.
  151.  
  152. Thu Aug  8 00:15:33 1991  David J. MacKenzie  (djm at bleen)
  153.  
  154.     * Version 1.08.
  155.  
  156.     * sed.c (compile_filename): If reading a file fails, read
  157.     /dev/null instead.  It's what Unix and POSIX do, effectively.
  158.  
  159.     * sed.c (compile_regex): The 'slash' character doesn't
  160.     terminate the regex if it's in a character class.
  161.  
  162.     * sed.c (main): If given no args, or bad option, print usage
  163.     message.
  164.     (usage): New function.
  165.  
  166.     * sed.c (execute_program): Amount written for 'P' command was
  167.     wrong.  From stephend@ksr.com (Stephen Davis).
  168.  
  169. Wed Aug  7 16:51:14 1991  David J. MacKenzie  (djm at apple-gunkies)
  170.  
  171.     * sed.c (append_pattern_space): Check for buffer full before
  172.     instead of after writing to buffer.  Don't need to test for
  173.     EOF initially anymore, due to the next change.
  174.     (execute_program): For 'n' and 'N' commands, if eof is reached
  175.     in input, quit the script like Unix sed does.
  176.     Fix memory allocation problems for 'a' and 'r' commands.
  177.     (compile_program): Fix off by one error in processing comments.
  178.     All of the above are from Tapani Tarvainen, tarvaine@tukki.jyu.fi.
  179.  
  180.     * sed.c (setup_jump): Use isblank instead of testing for ' '
  181.     or '\t', for POSIX locales.
  182.  
  183.     * utils.c (ck_strdup): Renamed from strdup.
  184.     * sed.c: Change callers.
  185.  
  186.     * sed.c, utils.c: Clean up declarations and includes to get
  187.     rid of compiler warnings.
  188.  
  189.     * sed.c (main): Add long-named options.  Don't complain if -n
  190.     is given twice.
  191.  
  192. Fri Aug  2 12:33:16 1991  David J. MacKenzie  (djm at apple-gunkies)
  193.  
  194.     * configure: Support +srcdir arg.  Create config.status and
  195.     remove it and Makefile if interrupted while creating them.
  196.     * Makefile.in: Change DESTDIR to prefix.
  197.  
  198. Mon Jul 15 13:07:39 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  199.  
  200.     * sed.c (main): Add -V option to print version number.
  201.     (USAGE): Mention -V.
  202.  
  203. Mon Jul  8 01:42:22 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  204.  
  205.     * sed.c: Define bcopy in terms of memcpy if STDC_HEADERS as
  206.     well as if USG.
  207.     (compile_filename): Don't glob filename (for 'r' and 'w'
  208.     commands).  Unix sed doesn't do it and it's not very useful,
  209.     since it can only match 0 or 1 files.
  210.     (execute_program): Change '\a' to 007 since some compilers
  211.     don't recognize \a.
  212.     * utils.c: New file; code moved from sed.c.
  213.     * Replace Makefile with Makefile.in and configure.
  214.     Update README.
  215.  
  216. Tue Mar 26 13:00:48 EST 1991    Jay Fenlason (hack@gnu.ai.mit.edu)
  217.  
  218.     * sed.c (match_address)  Added a trivial cast for portability.
  219.  
  220. Mon Feb 25 13:23:29 EST 1991    Jay Fenlason (hack@ai.mit.edu)
  221.  
  222.     * sed.c  Changed 's' command to work with latest version of regex()
  223.     routines, which mysteriously changed somewhere in there. . .
  224.     A one-line patch from David Eckelkamp (eckelkamp@mcc.com).
  225.  
  226.     Initialize the fastmap in the hopes that it'll make sed faster.
  227.  
  228. Thu Feb 21 13:42:27 EST 1991    Jay Fenlason (hack@ai.mti.edu)
  229.  
  230.     * sed.c Change panic to compile with other __STDC__ compilers.
  231.  
  232. Wed Jan 30 10:46:38 EST 1991    Jay Fenlason (hack@ai.mit.edu)
  233.  
  234.     * sed.c  Changed version number.  Made new release.
  235.  
  236. Tue Nov 27 15:34:51 EST 1990    Jay Fenlason (hack@ai.mit.edu)
  237.  
  238.     * sed.c (setup_jump)  Don't blow chunks if there isn't a label
  239.     after a b or t command.
  240.  
  241.         (main) Don't panic if it a branch command doesn't have
  242.     a label to branch to.
  243.  
  244.         (main)  Collect all the -e arguments together and parse them
  245.     all at once.  This way, -e { -e mumble -e } will work.
  246.  
  247.     All these small patches from David Schmidt (davids@isc-br.isc-br.com)
  248.  
  249. Tue Sep 11 12:51:37 EDT 1990    Jay Fenlason (hack@ai.mit.edu)
  250.  
  251.     * sed.c Changed some function forward declarations to use VOID *
  252.     instead of char *
  253.  
  254. Mon Jul 16 11:12:54 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
  255.  
  256.     * sed.c (ck_malloc)  Use malloc(1) instead of malloc(0) if given
  257.     a request for zero bytes.
  258.  
  259. Tue Jun  5 02:05:37 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  260.  
  261.     * sed.c: Remove excess newlines from calls to panic.
  262.     Reformat some comments to fit in 79 columns.
  263.     Base whether to use void * on __STDC__, not __GNU__.
  264.     (main): Add missing arg when printing usage message.
  265.     Print usage if given invalid arg.
  266.     (panic) [__STDC__]: Add missing ", ...".
  267.     (compile_filename): Print correct error message if glob_filename
  268.     returns NULL.
  269.  
  270. Thu Apr  5 21:41:12 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  271.  
  272.     * sed.c (execute_program, case 'r'): When need to realloc append.text,
  273.     multiply append.alloc by 2 instead of adding
  274.     cur_cmd->x.cmd_txt.text_len.
  275.  
  276. Tue Mar  6 15:55:35 EST 1990 Jay Fenlason (hack@ai.mit.edu)
  277.  
  278.     * sed.c (compile_regex)  Allocate 10 bytes extra space needed by
  279.     re_compile_pattern.
  280.  
  281. Sun Feb 25 16:32:10 1990  Jim Kingdon  (kingdon at pogo.ai.mit.edu)
  282.  
  283.     * sed.c (execute_program, case 'l'): Print \00 instead of \0.
  284.     Print backslash as \\ not \.
  285.     Print \xx instead of /xx.
  286.  
  287. Thu Feb  1 14:02:28 EST 1990        hack@wookumz
  288.  
  289.     * sed.c (memchr)  Use () inside inner loop so it will work correctly.
  290.     A two character patch from Robert A Bruce (rab@allspice.berkeley.edu)
  291.  
  292. Wed Sep 27 18:47:39 EDT 1989        hack@ai.mit.edu
  293.  
  294.     * sed.c (compile_regex)  New function.  When compiling regex,
  295.     turn ^ into \` and $ into \' so that they won't match on embedded
  296.     newlines.  UN*X    pattern matching is a crock.
  297.     (compile_program, compile_address) call compile_regex.
  298.  
  299. Mon Sep 18 10:15:32 EDT 1989        hack@ai.mit.edu
  300.  
  301.     * sed.c (compile_program):  define translate as unsigned char * so
  302.     that y command will work on non-ascii characters.
  303.  
  304.     Changed version number to 1.06.
  305.  
  306. Thu Sep 14 15:57:08 EDT 1989        hack@ai.mit.edu
  307.  
  308.     * sed.c  (compile_program)  Let programs use ; to terminate } as
  309.     well as newline.
  310.  
  311.     (read_file) Print an error msg to stderr if it can't open an
  312.      input file.
  313.  
  314. Thu Mar 23 18:04:46 1989  Randall Smith  (randy at apple-gunkies.ai.mit.edu)
  315.  
  316.     * Makefile, sed.c: Added new copyright notice.
  317.  
  318.     * Makefile: Make distributions which follow the symlinks.
  319.  
  320. hack@ai.mit.edu
  321.  
  322.     1.05    Fixed error in 'r' (now does things in the right order)
  323.  
  324.     1.04    Fixed s/re/rep/[number]
  325.  
  326.     1.03    Fixes from Mike Haertel for regexps that match the
  327.         empty string, and for Ritchie stdio (non-sticky EOF)
  328.  
  329.     1.02    Fixed 't', 'b', ':' to trim leading spaces and tabs
  330.         Fixed \\ in replacement of 's' command
  331.         Added comments
  332.  
  333.     1.01    Added s/re/rep/[digits]
  334.         added #n as first line of script
  335.         added filename globbing
  336.         added 'l' command
  337.         All in the name of POSIX
  338.  
  339.     1.00    Began (thinking about) distributing this file
  340.  
  341. Local Variables:
  342. mode: indented-text
  343. left-margin: 8
  344. version-control: never
  345. End:
  346.