Subject: Re: bin/37212: Please backport 'cvs diff -r 1.7 -r 1.8 dist/nawk/lex.c' to netbsd-4 branch
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, cheusov@tut.by>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-bugs
Date: 11/13/2007 18:00:05
The following reply was made to PR bin/37212; it has been noted by GNATS.

From: Aleksey Cheusov <cheusov@tut.by>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/37212: Please backport 'cvs diff -r 1.7 -r 1.8 dist/nawk/lex.c' to netbsd-4 branch
Date: Tue, 13 Nov 2007 19:55:11 +0200

 I ask for this change because this fixes very curious bug.
 
 Run the following.  NetBSD-4 version of awk inserts an empty line
 after each useful line.  As a result this look baaaaaaad.
 
 #!/usr/bin/awk -f
 
 function usage (){
 	print "usage: program_name [OPTION] [files...]\n\
 OPTIONS:\n\
  -h|--help       display this screen\n\
  -V|--version    version\n\
 " 
 	exit 0
 }
 
 BEGIN {
 	usage()
 }
 
 -- 
 Best regards, Aleksey Cheusov.