summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoretheisen <etheisen@openbsd.org>1996-07-06 05:40:02 +0000
committeretheisen <etheisen@openbsd.org>1996-07-06 05:40:02 +0000
commit43d1260664f00b63a5051c30b1721f248db87a2b (patch)
tree39a4282a665dc302b840d7878ed34c62fe1a829c
parentcommit check finish after work done (diff)
downloadwireguard-openbsd-43d1260664f00b63a5051c30b1721f248db87a2b.tar.xz
wireguard-openbsd-43d1260664f00b63a5051c30b1721f248db87a2b.zip
Should get installed as nawk as well.
-rw-r--r--usr.bin/awk/Makefile4
-rw-r--r--usr.bin/awk/awk.13
2 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile
index 936941b7d71..61aaaeb341f 100644
--- a/usr.bin/awk/Makefile
+++ b/usr.bin/awk/Makefile
@@ -1,9 +1,13 @@
+# $OpenBSD: Makefile,v 1.2 1996/07/06 05:40:02 etheisen Exp $
+
PROG= awk
+LINKS= ${BINDIR}/awk ${BINDIR}/nawk
SRCS= awkgram.c awklex.c b.c main.c parse.c proctab.c tran.c lib.c run.c
LDADD= -ll -lm
DPADD= ${LIBL} ${LIBM}
CLEANFILES+=awkgram.c awkgram.h awklex.c awklex.h proctab.c maketab prevawkgram.h
CFLAGS+=-I. -I${.CURDIR}
+MLINKS= awk.1 nawk.1
awkgram.c awkgram.h prevawkgram.h: awkgram.y
${YACC} -d ${.IMPSRC}
diff --git a/usr.bin/awk/awk.1 b/usr.bin/awk/awk.1
index 0097beebd94..54b4d3b79d8 100644
--- a/usr.bin/awk/awk.1
+++ b/usr.bin/awk/awk.1
@@ -1,3 +1,4 @@
+.\" $OpenBSD: awk.1,v 1.2 1996/07/06 05:40:03 etheisen Exp $
.de EX
.nf
.ft CW
@@ -13,7 +14,7 @@ awk
.SH NAME
awk \- pattern-directed scanning and processing language
.SH SYNOPSIS
-.B awk
+.B awk|nawk
[
.BI \-F
.I fs