summaryrefslogtreecommitdiff
path: root/bin/sh/mktokens
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1996-10-20 00:55:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1996-10-20 00:55:12 +0000
commit8414ed88be8de5352141730c176d30301d6700b4 (patch)
tree44a7f767c70131fb1d09f8a151860fee4e22ae5f /bin/sh/mktokens
parent78d30b21a3fa6e2f7d7fb077246e1e015a2dafdf (diff)
Sync with NetBSD. Adds better POSIX compliance amongst others.
Diffstat (limited to 'bin/sh/mktokens')
-rw-r--r--bin/sh/mktokens4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/mktokens b/bin/sh/mktokens
index d0fdda452ac..9db772981a7 100644
--- a/bin/sh/mktokens
+++ b/bin/sh/mktokens
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: mktokens,v 1.2 1996/06/23 14:21:25 deraadt Exp $
+# $OpenBSD: mktokens,v 1.3 1996/10/20 00:54:56 millert Exp $
# $NetBSD: mktokens,v 1.7 1995/05/11 21:29:38 christos Exp $
#
# Copyright (c) 1991, 1993
@@ -73,7 +73,7 @@ TESAC 1 "esac"
TNOT 0 "!"
!
nl=`wc -l /tmp/ka$$`
-exec > token.def
+exec > token.h
awk '{print "#define " $1 " " NR-1}' /tmp/ka$$
echo '
/* Array indicating which tokens mark the end of a list */