Print this page
3764 Semantic of nawk's print statement changed
@@ -20,12 +20,10 @@
# CDDL HEADER END
#
# Copyright (c) 1995-1998 by Sun Microsystems, Inc.
# All rights reserved.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
# mknames.awk
#
# XCurses Library
#
# Copyright 1990, 1995 by Mortice Kern Systems Inc. All rights reserved.
@@ -36,13 +34,13 @@
function header(file, array) {
print "/*" > file
print " * Copyright (c) 1998 by Sun Microsystems, Inc." > file
print " * All rights reserved." > file
print " */" > file
-print > file
+print "" > file
print "#pragma ident \"@(#)" file "\t%I%\t%E% SMI\"" > file
-print > file
+print "" > file
print "/*" > file
printf " * %s\n", file > file
print " *" > file
print " * XCurses Library" > file
print " *" > file
@@ -50,11 +48,11 @@
print " * **** DO NOT EDIT THIS FILE." > file
print " *" > file
print " * Copyright 1990, 1995 by Mortice Kern Systems Inc. All rights reserved." > file
print " *" > file
print " */" > file
-print > file
+print "" > file
printf "const char *%s[] = {\n", array > file
}
function tail(file) {
printf("\t0\n};\n") >file;