🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #626

New (UnixTC) awk - warning

#626
From: Dale Worley
Date: Mon, 26 Oct 1987 16:26
23 lines
1113 bytes
root@investor.UUCP (Bob Peirce) writes:
> 'BEGIN {
> 	stuff
> }{
> 	more stuff
> }'
> 
> The manual
> states on p.22 that "The opening brace of an action must be on the
> same line as the pattern it accompanies."

Eh?  As far as I can tell, the pattern is an implied "all lines",
physically represented by the null string immediately preceeding the
open brace.  And that null string is on the same line as the open
brace.

What am I missing?

Dale
-- 
Dale Worley    Cullinet Software      ARPA: culdev1!drw@eddie.mit.edu
UUCP: ...!seismo!harvard!mit-eddie!culdev1!drw
If you get fed twice a day, how bad can life be?
Technical Details
Message-ID: <1697@culdev1.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!culdev1!drw

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!culdev1!drw
From: drw@culdev1.UUCP (Dale Worley)
Newsgroups: comp.bugs.sys5,comp.lang.misc
Subject: New (UnixTC) awk - warning
Message-ID: <1697@culdev1.UUCP>
Date: Mon, 26-Oct-87 11:26:59 EST
Article-I.D.: culdev1.1697
Posted: Mon Oct 26 11:26:59 1987
Date-Received: Wed, 28-Oct-87 05:05:46 EST
Organization: Cullinet Software, Westwood, MA, USA
Lines: 23