Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!aramis.rutgers.edu!athos.rutgers.edu!rbthomas
From: rbthomas@athos.rutgers.edu (Rick Thomas)
Newsgroups: comp.os.minix
Subject: installation report for bawk and patch
Keywords: bawk patch installation problems
Message-ID: 
Date: 25 Sep 89 04:50:24 GMT
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 56


I just downloaded and tried to compile the recently posted Patch and
Bawk programs.

Here are my observations -- all helpful comments will be appreciated.

		BAWK

1) Compiling bawk using the makefile gives lots of warnings about
illegal or dangerous conversions of ptr <-> int and ptr-type-1 <-> ptr-type-2
Is this a serious problem?

2) There is no documentation in the bawk posting.  How do you use it?
Presumable "bawk" stands for Basic AWK, but what parts are left out?

3) I had to "#include " in order to get "tolower" defined in
bawksym.c

4) "bawk -f aaa bbb" gives no output when file aaa contains

	{print $3 }

and bbb contains the output of an "ls -l".  This is not what I would
expect from a "Basic AWK" program.



	       PATCH

1) Make (either 1.3PH or 1.4a) does not seem to get the "$*" macro
right when it is used in the patch Makefile rule for ".c.s"  It always
wants to compile "version.c" instead of the correct thing.  I changed
it to use "$<" instead of "$*.c" and it worked OK.

2) pch.c and inp.c get lots of "warning conversion of long to pointer
loses accuracy".  Is this serious?

3) The patch.man file included with the patch posting needs to be
formatted with nroff (which Minix did not have until recently -- and
I have not yet installed anyway) before it can be useful to Minix people.



That's it so far...
All help will be appreciated.

Enjoy!

Rick
-- 

Rick Thomas
uucp: {ames, att, harvard}!rutgers!jove.rutgers.edu!rbthomas
internet: rbthomas@JOVE.RUTGERS.EDU
bitnet: rbthomas@zodiac.bitnet
Phone: (201) 932-4301