[comp.os.minix] Announcement about ed, sed, and bawk

ast@cs.vu.nl (Andy Tanenbaum) (09/14/87)

Last May, Michael Shiels of Waterloo posted versions of bawk, sed, and ed.
I have the impression that not everyone received the postings.  I have 
modified the files to work on MINIX and will repost them as several shar
files following this message.  The sizes of the individual files are:

ed:
rw-r--r-- 12/3   3027 Sep 14 17:36 1987 amatch.c
rw-r--r-- 12/3    713 Sep 14 17:36 1987 append.c
rw-r--r-- 12/3   1469 Sep 14 17:36 1987 bitmap.c
rw-r--r-- 12/3    684 Sep 14 17:36 1987 catsub.c
rw-r--r-- 12/3    999 Sep 14 17:36 1987 ckglob.c
rw-r--r-- 12/3    514 Sep 14 17:36 1987 deflt.c
rw-r--r-- 12/3    726 Sep 14 17:36 1987 del.c
rw-r--r-- 12/3   4197 Sep 14 17:36 1987 docmd.c
rw-r--r-- 12/3   1129 Sep 14 17:36 1987 dodash.c
rw-r--r-- 12/3    820 Sep 14 17:36 1987 doglob.c
rw-r--r-- 12/3   1197 Sep 14 17:36 1987 doprnt.c
rw-r--r-- 12/3   1149 Sep 14 17:36 1987 doread.c
rw-r--r-- 12/3    946 Sep 14 17:36 1987 dowrite.c
rw-r--r-- 12/3   1619 Sep 14 17:36 1987 ed.c
rw-r--r-- 12/3   1446 Sep 14 17:37 1987 ed.h
rw-r--r-- 12/3   1262 Sep 14 17:36 1987 egets.c
rw-r--r-- 12/3    719 Sep 14 17:36 1987 esc.c
rw-r--r-- 12/3    599 Sep 14 17:36 1987 find.c
rw-r--r-- 12/3    857 Sep 14 17:36 1987 getfn.c
rw-r--r-- 12/3    743 Sep 14 17:36 1987 getlst.c
rw-r--r-- 12/3   1024 Sep 14 17:36 1987 getnum.c
rw-r--r-- 12/3    721 Sep 14 17:36 1987 getone.c
rw-r--r-- 12/3    149 Sep 14 17:36 1987 getpat.c
rw-r--r-- 12/3    509 Sep 14 17:36 1987 getptr.c
rw-r--r-- 12/3    687 Sep 14 17:36 1987 getrhs.c
rw-r--r-- 12/3    535 Sep 14 17:36 1987 gettxt.c
rw-r--r-- 12/3    977 Sep 14 17:36 1987 ins.c
rw-r--r-- 12/3    393 Sep 14 17:37 1987 makefile
rw-r--r-- 12/3   3082 Sep 14 17:36 1987 makepat.c
rw-r--r-- 12/3   1435 Sep 14 17:36 1987 maksub.c
rw-r--r-- 12/3    925 Sep 14 17:37 1987 matchs.c
rw-r--r-- 12/3    831 Sep 14 17:37 1987 move.c
rw-r--r-- 12/3   1101 Sep 14 17:37 1987 omatch.c
rw-r--r-- 12/3    723 Sep 14 17:37 1987 optpat.c
rw-r--r-- 12/3   1271 Sep 14 17:37 1987 set.c
rw-r--r-- 12/3    555 Sep 14 17:37 1987 setbuf.c
rw-r--r-- 12/3   1314 Sep 14 17:37 1987 subst.c
rw-r--r-- 12/3    245 Sep 14 17:37 1987 system.c
rw-r--r-- 12/3   2596 Sep 14 17:37 1987 tools.h
rw-r--r-- 12/3    363 Sep 14 17:37 1987 unmkpat.c

sed:
rw-r--r-- 12/3     39 Sep 14 17:38 1987 debug.h
rw-r--r-- 12/3  20718 Sep 14 17:37 1987 ed.man
rw-r--r-- 12/3    210 Sep 14 17:37 1987 makefile
rw-r--r-- 12/3   3987 Sep 14 17:37 1987 sed.h
rw-r--r-- 12/3  37224 Sep 14 17:37 1987 sedcomp.c
rw-r--r-- 12/3  28577 Sep 14 17:38 1987 sedexec.c

bawk:
rw-r--r-- 12/3  18755 Sep 14 17:37 1987 bawk.c
rw-r--r-- 12/3  10456 Sep 14 17:37 1987 bawk.doc
rw-r--r-- 12/3   6117 Sep 14 17:37 1987 bawk.h
rw-r--r-- 12/3   7593 Sep 14 17:37 1987 bawkact.c
rw-r--r-- 12/3  12181 Sep 14 17:37 1987 bawkdo.c
rw-r--r-- 12/3   7640 Sep 14 17:37 1987 bawkpat.c
rw-r--r-- 12/3   8580 Sep 14 17:37 1987 bawksym.c
rw-r--r-- 12/3     94 Sep 14 17:37 1987 makefile
rw-r--r-- 12/3   5869 Sep 14 17:37 1987 scanf.c

Does anyone know how large a posting may be?

I have tested these programs a little bit, but not very thoroughly.  I have
noticed that bawk and ed differ from awk and UNIX ed in small, but irritating,
ways.  If anyone feels inspired to test them more thoroughly and modify them
to be compatible with UNIX, please do so and post your results.

Andy Tanenbaum (ast@cs.vu.nl)

mmdf@udel.UUCP (09/22/87)

Did anyone receive the posting from ast on ed, sed, and bawk?  My site never
received these postings.  Could someone let me know if they have recieved
source from ast on these tools.  The only information I have received at this
point is the listing of file sizes that ast posted.

Our site has recently changed from a VAX 750 to a SUN 2/380 and I think that
this posting may have got lost in the shuffle.

Brian O'Halloran
boh@culdev1.uucp