From 75a7eb63e1a591f5296446fffdd42536ad1534c2 Mon Sep 17 00:00:00 2001 From: tg Date: Sun, 30 Aug 2009 11:38:44 +0000 Subject: [PATCH] =?UTF-8?q?document=20the=20=5Fpossible=5F=20printf(1)=20b?= =?UTF-8?q?uiltin=20and=20mark=20that=20it=E2=80=99s=20not=20supported?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mksh.1 | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/mksh.1 b/mksh.1 index 758e4e2..566148d 100644 --- a/mksh.1 +++ b/mksh.1 @@ -1,4 +1,4 @@ -.\" $MirOS: src/bin/mksh/mksh.1,v 1.177 2009/08/28 22:46:20 tg Exp $ +.\" $MirOS: src/bin/mksh/mksh.1,v 1.178 2009/08/30 11:38:44 tg Exp $ .\" $OpenBSD: ksh.1,v 1.129 2009/05/28 06:09:06 jmc Exp $ .\"- .\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 @@ -48,7 +48,7 @@ .el .xD \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 .. .\"- -.Dd $Mdocdate: August 28 2009 $ +.Dd $Mdocdate: August 30 2009 $ .Dt MKSH 1 .Os MirBSD .Sh NAME @@ -2557,8 +2557,9 @@ Additional regular commands .Pp .Ic \&[ , bind , echo , let , -.Ic mknod , print , pwd , realpath , -.Ic rename , test , ulimit , whence +.Ic mknod , print , printf , pwd , +.Ic realpath , rename , test , ulimit , +.Ic whence .Pp In the future, the additional .Nm @@ -3274,6 +3275,14 @@ As above, the .Fl n option suppresses the trailing newline. .Pp +.It Ic printf Ar format Op Ar arguments ... +Formatted output. +The same as the utility +.Xr printf 1 . +This is not normally part of +.Nm mksh , +however, distributors may have added this as builtin as a speed hack. +.Pp .It Ic pwd Op Fl LP Print the present working directory. If the