🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.misc
Article #1246

uuhosts & awk problem

#1246
From: Account for USENET News system
Date: Sat, 14 Apr 1990 04:29
21 lines
871 bytes
I am trying to install software to automate mail
routing table maintenance.  I have uuhosts, and
the awk in my SCO UNIX 3.2 system is complaining
about the first line in the code below.
---------
state == shead && /^$/	{
	if (isuucpmap != 0) {
	print "PATH=/bin; umask 0002; cd '$UUCPMAP'" | "'$MAPSH'";
		state = suucp;
	} else
		state = stext;
}
---------

I am new to awk. What is the first line trying to do,  
and why, please, is the awk in my system aborting on it?
Thank you.

Dean
uunet!uwm.edu!mixcom!news
Technical Details
Message-ID: <40@mixcom.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!mixcom!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!mixcom!news
From: news@mixcom.UUCP (Account for USENET News system)
Newsgroups: comp.mail.misc
Subject: uuhosts & awk problem
Message-ID: <40@mixcom.UUCP>
Date: 14 Apr 90 04:29:32 GMT
Distribution: usa
Organization: MIX Communications, Milwaukee, WI
Lines: 21