Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!rochester!PT.CS.CMU.EDU!cadre!pitt!darth!investor!root From: root@investor.UUCP (Bob Peirce) Newsgroups: comp.bugs.sys5,comp.lang.misc Subject: New (UnixTC) awk - warning Message-ID: <856@investor.UUCP> Date: Fri, 23-Oct-87 12:05:37 EST Article-I.D.: investor.856 Posted: Fri Oct 23 12:05:37 1987 Date-Received: Sun, 25-Oct-87 16:42:51 EST Organization: Cookson, Peirce & Co., Pittsburgh, PA Lines: 17 Xref: mnetor comp.bugs.sys5:264 comp.lang.misc:779 Older versions of awk would accept the following: 'BEGIN { stuff }{ more stuff }' New awk doesn't like "}{". However, this is not a bug. The manual states on p.22 that "The opening brace of an action must be on the same line as the pattern it accompanies." The implied pattern here is all input lines so, technically, the oening brace should be on a line by itself. Be that as it may, old awk scripts may break on this. -- Bob Peirce, Pittsburgh, PA 412-471-5320 uucp: ...!{allegra, bellcore, cadre, idis, psuvax1}!pitt!investor!rbp NOTE: Mail must be < 30K bytes/message