kirsch@USASOC.SOC.MIL (David Kirschbaum) (06/20/91)
I have uploaded to SIMTEL20:
pd1:<msdos.txtutl>
SED11.ZIP MSDOS port of Unix streaming editor v1.1
Sed copies the named files (standard input default) to the standard
output, edited according to a script of commands.
v1.1, 19 Jun 91: Toad Hall Tweak to original SED.ARC source
1 - Reformatted the source code (via indent -kr).
2 - Made minor necessary tweaks to compile with Turbo C v2.0.
A configuration file (TCCONFIG.TC) and project file (SED.PRJ)
for Turbo C's integrated environment are now included.
3 - Added a bunch of prototyping to reduce TC warnings.
4 - Removed some undocumented, unsupported debug stuff.
5 - Reduced the .EXE by 28,000 bytes! The original compiled SED.EXE was
46,010 bytes long. The current version (as compiled on my system) is
18,444 bytes long. Don't ask me what the original was doing with all
that extra space!
6 - I have no idea if this sed is compatible with the GNU sed (as
in SIMTEL20's PD:<MSDOS.GNUISH>SED106.ARC). I can't tell which
came first, or if they share any sort of ancestry.
The original sed says internally (in the source and .MAN files)
that it was written for GNU, but the code is certainly different
from the SED106 source!
Also, the Gnuish SED106 coughs and dies on the test file in this
package. Reassuringly, the sed up on my BSD 4.3 system runs the
test just fine .. which goes to show you, I guess.
So I'm installing *this* sed on my system in preference to the
Gnuish sed.
Disclaimer: The little test program still works, so I don't *think* I
broke this utility. However, I have no experience with sed, and no other
script files to test it with. Please let me know if there are any
problems.
David Kirschbaum
Toad Hall
kirsch@usasoc.soc.mil