home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Otherware
/
Otherware_1_SB_Development.iso
/
mac
/
util
/
develope
/
mgawk211.cpt
/
MACINTOSH.README
< prev
Wrap
Text File
|
1991-08-18
|
5KB
|
127 lines
This file is the README for MacGawk patch 4:
**NOTE - this release is about 9 months late. For those who were
depending on me to maintain a timely update schedule, I apologize. My
personal life and my professional life have been in an uproar that is
only slightly subsiding.
New
This release is mostly bug fixes and cosmetic updates. The ability to run
multiple scripts without re-launching is not included due to problems
with memory management and the cconsole() code from Symantec.
Bugs fixed:
Regular expressions no longer exhaust memory.
The NF builtin is now correctly calculated.
The split() function now works.
Temporary files now deleted after gawk exits.
About GNU awk for the Macintosh...
This is GNU awk, gawk, for the Macintosh. For those who don╒t know, GNU
stands for GNU╒s Not UNIX, an as-yet unfinished operating system,and is
the primary goal of the Free Software Foundation. The FSF has publically
condemned Apple Computer for it╒s litigation in defense of perceived
copyrights. The FSF, therefore, has no knowledge of the existence of this
gawk version, and would not support it if it did. Do not report bugs or
make any other contact with FSF concerning Macintosh gawk.
Why Macintosh gawk exists
gawk for the Macintosh exists for a number of reasons. First, I use gawk
extensively as part of my day to day work activities and wanted to have
it at home. Second, I was looking for a project in C to work on at home
to learn Mac programming. And third, it was a challenge. I have every
intention of following the GNU copyleft, meaning that I can not sell gawk
itself ( I could conceivably charge for support ) for profit and must
also make full source available.
Macintosh gawk is Free Software
I do not charge for gawk. It is free software, not shareware or public
domain. I encourage you to read the documents that describe the GNU
Public License, or GPL so that you understand what this means.
Differences from UNIX gawk
Macinstosh gawk lacks some features that UNIX-like systems provide. These
features include pipes and multiple processes. Mac gawk will quit when
source programs invoke these functions. I caution against redirecting
input and output in getline and print/printf calls. All other features
should work the same. Read the Macintosh Supplement.mw document for
details.
Macintosh caveats
Multifinder
Mac gawk will run under Multifinder, but is not particularly MF adapted.
It is set to use a partition size of 768K but large input files may
require more, much more. Operation under Finder should be fine.
Command Line
Macintosh gawk uses the THINK C ccommand interface. This provides a
dialog box that allows the user to enter UNIX shell-like command lines.
Redirection of input and output is done with radio buttons.
TEXT Files Mac gawk reads and writes standard Macintosh TEXT files. To
use word processor files, it will be necessary to save them as TEXT first.
Behind the scenes
Compilation Mac gawk was compiled using THINK C 4.0.2 on a 4M Mac+
running System 6.0.7. gawk requires bison to generate the awk.tab.c file.
This is generally only required when making changes in the actual awk
language. The source files were converted to comply with the ANSI
standard ( as THINK defines it ) and makes full use of function prototypes.
The author
I╒m not really the author, I just did the porting. My name is Tom
Maszerowski, I work as a software engineer for Moscom, Inc. in Pittsford,
NY. Moscom is nice enough to allow me email and UUCP acccess and I thank
them, but there are no guarantees. Thanks to my wife as well, for
allowing me the time at home to do this.
Bugs and updates
Please do not contact the FSF concerning this version of gawk. I expect
to be the sole point of contact for bugs and source code updates. I
monitor the GNU groups on NETNEWS and will try to incorporate them as
needed. If you make changes to the gawk source you feel will benefit
others send them to me.
Addresses
I can be reached at the following email addresses:
tcm@moscom.com
{rit,tropix,ur-valhalla}!moscom!tcm
Mail delivery is usually quite good and I try to respond in a timely
fashion ( although timely is a subjective term ).
Manual
The manual with a supplement is found in the "gawk Manual.mw" and
"Macintosh Supplement.mw" files. The manual was made by converting the
original texinfo file to to nroff and then to text. The text was then
converted to MacWrite5.0 format for the release. I tried to keep
pagination correct but this may change based on the device you print to.
Directions
The source should be stripped of non-Mac code, since it seems unlikely that
someone without a Mac would grab this source code.
Memory allocation problems should be fixed, possibly with replacement of
the THINK malloc() calls with something else.
Real Mac interface would be nice, possibly using Prototyper ( this
presents a problem with source distribution since Prototyper-produced
code requires libraries that cannot be given away ).