From 8a0c68a184f4d5ced43f49189fab2c2cbee37fc2 Mon Sep 17 00:00:00 2001 From: tg Date: Sun, 20 Sep 2009 12:12:00 +0000 Subject: [PATCH] document cid 1004AB55AA4341EC755, printf builtin may use $'...' backslash expansion code instead (and the one from the print builtin for %b), same as AT&T ksh93 does --- mksh.1 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mksh.1 b/mksh.1 index 9e550e6..6383e5c 100644 --- a/mksh.1 +++ b/mksh.1 @@ -1,4 +1,4 @@ -.\" $MirOS: src/bin/mksh/mksh.1,v 1.188 2009/09/19 21:54:45 tg Exp $ +.\" $MirOS: src/bin/mksh/mksh.1,v 1.189 2009/09/20 12:12:00 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: September 19 2009 $ +.Dd $Mdocdate: September 20 2009 $ .Dt MKSH 1 .Os MirBSD .Sh NAME @@ -3396,7 +3396,11 @@ option suppresses the trailing newline. .It Ic printf Ar format Op Ar arguments ... Formatted output. The same as the utility -.Xr printf 1 . +.Xr printf 1 , +except that it may use the same +.Sx Backslash expansion +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.