do not advertise printf(1)

This commit is contained in:
tg 2012-08-03 18:34:31 +00:00
parent 0decdb2100
commit 31ad60ea89
1 changed files with 8 additions and 10 deletions

18
mksh.1
View File

@ -1,4 +1,4 @@
.\" $MirOS: src/bin/mksh/mksh.1,v 1.291 2012/07/30 21:37:13 tg Exp $
.\" $MirOS: src/bin/mksh/mksh.1,v 1.292 2012/08/03 18:34:31 tg Exp $
.\" $OpenBSD: ksh.1,v 1.144 2012/07/08 08:13:20 guenther Exp $
.\"-
.\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
@ -74,7 +74,7 @@
.\" with -mandoc, it might implement .Mx itself, but we want to
.\" use our own definition. And .Dd must come *first*, always.
.\"
.Dd $Mdocdate: July 30 2012 $
.Dd $Mdocdate: August 3 2012 $
.\"
.\" Check which macro package we use, and do other -mdoc setup.
.\"
@ -2872,8 +2872,8 @@ regular commands
.Pp
.Ic \&[ , chdir , bind , cat ,
.Ic echo , let , mknod , print ,
.Ic printf , pwd , realpath , rename ,
.Ic sleep , test , ulimit , whence
.Ic pwd , realpath , rename , sleep ,
.Ic test , ulimit , whence
.Pp
In the future, the additional
.Nm
@ -3240,8 +3240,6 @@ defaults to 1.
.Em Warning:
this utility is not portable; use the Korn shell builtin
.Ic print
or the much slower POSIX utility
.Ic printf
instead.
.Pp
Prints its arguments (separated by spaces) followed by a newline, to the
@ -3633,15 +3631,16 @@ option suppresses the trailing newline.
.Pp
.It Ic printf Ar format Op Ar arguments ...
Formatted output.
Approximately the same as the utility
.Ic printf ,
except that it uses the same
Approximately the same as the
.Xr printf 1 ,
utility, except it uses the same
.Sx Backslash expansion
and I/O code as the rest of
.Nm mksh .
This is not normally part of
.Nm mksh ;
however, distributors may have added this as builtin as a speed hack.
Do not use in new code.
.Pp
.It Ic pwd Op Fl LP
Print the present working directory.
@ -6151,7 +6150,6 @@ contains the system and suid profile.
.Xr cat 1 ,
.Xr ed 1 ,
.Xr getopt 1 ,
.Xr printf 1 ,
.Xr sed 1 ,
.Xr sh 1 ,
.Xr stty 1 ,