source: trunk/essentials/sys-apps/gawk/test/getlnbuf.awk@ 3174

Last change on this file since 3174 was 3076, checked in by bird, 19 years ago

gawk 3.1.5

File size: 502 bytes
Line 
1#Date: Tue, 21 Dec 1999 16:11:07 +0100
2#From: Daniel Schnell <[email protected]>
3#To: [email protected]
4#CC: [email protected]
5#Subject: BUG in gawk (version 3.0.4 linux, windows): Text mangeling in between
6
7# search for "@K@CODE" segment
8
9$0 ~ /@K@CODE/ {
10 # get next record
11 getline temp
12 printf ("@K@CODE\n")
13 printf ("%s\n",temp)
14 }
15
16$0 !~ /@K@CODE/ {
17 printf ("%s\n", $0)
18 }
Note: See TracBrowser for help on using the repository browser.