Thread View: comp.bugs.sys5
1 messages
1 total messages
Started by Bob Peirce
Fri, 23 Oct 1987 17:05
New (UnixTC) awk - warning
Author: Bob Peirce
Date: Fri, 23 Oct 1987 17:05
Date: Fri, 23 Oct 1987 17:05
17 lines
1114 bytes
1114 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads