From e0474a6042f5f4cd1537e639bca9fe4309c5e73b Mon Sep 17 00:00:00 2001 From: tg Date: Thu, 28 Oct 2004 16:19:01 +0000 Subject: [PATCH] some fixups for mksh --- ksh.1tbl | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/ksh.1tbl b/ksh.1tbl index 104a223..6ff60d2 100644 --- a/ksh.1tbl +++ b/ksh.1tbl @@ -1,4 +1,4 @@ -.\" $MirBSD: ksh.1tbl,v 1.31 2004/10/28 15:07:35 tg Exp $ +.\" $MirBSD: ksh.1tbl,v 1.32 2004/10/28 16:19:01 tg Exp $ .\" $OpenBSD: ksh.1tbl,v 1.72 2004/08/07 16:46:58 millert Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -32,6 +32,20 @@ .\" .\" @(#)ksh.1tbl 8.2 (Berkeley) 8/19/96 .\" +.\" define Mx macro for portable mksh +.de Mx +.nr cF \\n(.f +.nr cZ \\n(.s +.ds aa \&\f\\n(cF\s\\n(cZ +.if \\n(aC==0 \{\ +. if \\n(.$==0 \&MirOS\\*(aa +.\} +.if \\n(.$==1 \{\ +. if "\\$1"6" \&MirOS #6\\*(aa +. if "\\$1"." \&MirOS\\$1\\*(aa +. if "\\$1"," \&MirOS\\$1\\*(aa +.\} +.. .Dd April 7, 2004 .Dt KSH 1 .Os @@ -5217,6 +5231,15 @@ extensions exposed, caution should be used where backwards compatibility with traditional Bourne or .Tn POSIX compliant shells is an issue. +.pp +.Nm mksh +is the common name for the +.Mx +Korn shell installed in +.Pa /bin/mksh +or +.Pa /usr/local/bin/mksh +on foreign systems, installed from the portable mirbsdksh sources. .Sh AUTHORS This shell is based on the public domain 7th edition Bourne shell clone by Charles Forsyth and parts of the BRL shell by Doug A. Gwyn, Doug Kingston,