20000917 Version 1.4.5 Fixed global flag processing--was always replacing all occurances Removed extraneous processing in execute_program()--speed improved 19990216 Version 1.4.4 Included GNU regex 0.12 in source distribution, so BSD-variant checking is no longer necessary 19990211 Version 1.4.3 Minor changes to Makefile.in Minor changes to allow clean build under other BSD-variant OSs Minor changes to docs, explaining reliance on GNU regex libraries 19990107 Version 1.4.2 Minor changes to allow clean build under FreeBSD 3.0 19981221 Version 1.4.1 Additional code speedups 19981220 Version 1.4 Permitted newlines to be included in pattern Fixed long options bug wherein the long versions of --pattern and --replacement wouldn't take an argument Minor code cleanups 19981103 Version 1.3.5 Minor code cleanups 19980729 Version 1.3.4 Rewrote input routines to use unbuffered I/O, even though these aren't ANSI C (they are POSIX.1, though) for more speed improvements Additional code cleanups 19980728 Version 1.3.3 Fixed off-by-one error which truncated last line of files Altered Makefile.in, configure.in, configure, gres.c to permit linking against sfio 19980727 Version 1.3.2 Fixed file streams bug 19980608 Version 1.3.1 Added checks for <unistd.h> to configure script 19980603 Version 1.3 Rewrote input routines to use block reads instead of character at a time reads--this results in significant speed improvements 19980602 Version 1.2.2 More speed improvements 19980601 Version 1.2.1 Fixed bug where multiple -p or -r flags would screw up parsing of non-option arguments. Now, if multiple -p or -r flags are given on the command line, only the last ones will be used. Slight reformatting of gres.c--more indenting consistency Added comments to gres.c and Makefile.in relating to derivation from GNU sed for better compliance with the GPL 19980514 Version 1.2 Deleted string compile phase--pattern and replace are now passed to compile_program and slash processing is now removed. This means that gres can work on binary files now, but utility is limited with the concept of one-line-at-a-time processing. This should result in slight speed-ups in execution as well. 19980513 Version 1.1.1 Reformatted gres.c--indenting should be consistent now Fixed bug where malloc'd memory for pattern and replace didn't include trailing null byte--this caused many unpredictable errors Reduced amount of memory used, by eliminating multiple commands-- #define MORE_CMDS 1 Fixed up some comments to be more accurate 19980512 Version 1.1 Made gres accept optional flags for pattern and replacement. This allows option arguments to be specified in any order. Gres will now check for the existance of the -p option and use the argument to that flag as the pattern if it exists. If -p isn't specified, gres will use the first non-option argument as the pattern. If -r is specified, gres will use the argument to that flag as the replacement. If -r isn't specified, gres will use the first non-option argument (or the second if -p isn't specified) as the replacement. Updated man page and README to reflect these changes Deleted a lot of superfluous GNU sed code 19980502 Version 1.0 based on GNU sed 2.05