sync with oksh:

Revision 1.129: [7]download - view: [8]text, [9]markup, [10]annotated - [11]select for diffs
   Thu May 28 06:09:06 2009 UTC (3 days, 11 hours ago) by jmc
   Branches: [12]MAIN
   CVS tags: [13]HEAD
   Diff to: previous 1.128: [14]preferred, [15]coloured
   Changes since revision 1.128: +6 -6 lines
fix missing bracket by slightly rewriting; from Alan R. S. Bueno
This commit is contained in:
tg 2009-05-31 17:41:09 +00:00
parent 804fe16118
commit 63c56000f7

14
mksh.1
View File

@ -1,5 +1,5 @@
.\" $MirOS: src/bin/mksh/mksh.1,v 1.168 2009/05/27 19:52:37 tg Exp $ .\" $MirOS: src/bin/mksh/mksh.1,v 1.169 2009/05/31 17:41:09 tg Rel $
.\" $OpenBSD: ksh.1,v 1.128 2009/03/06 12:28:36 jmc Exp $ .\" $OpenBSD: ksh.1,v 1.129 2009/05/28 06:09:06 jmc Exp $
.\"- .\"-
.\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 .\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
.\" Thorsten Glaser <tg@mirbsd.org> .\" Thorsten Glaser <tg@mirbsd.org>
@ -48,7 +48,7 @@
.el .xD \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 .el .xD \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8
.. ..
.\"- .\"-
.Dd $Mdocdate: May 27 2009 $ .Dd $Mdocdate: May 31 2009 $
.Dt MKSH 1 .Dt MKSH 1
.Os MirBSD .Os MirBSD
.Sh NAME .Sh NAME
@ -5122,16 +5122,16 @@ appended
.Ql * .Ql *
if the word contains no file globbing characters) \*(en the big-word is replaced if the word contains no file globbing characters) \*(en the big-word is replaced
with the resulting words. with the resulting words.
If the current big-word is the first on the line (or If the current big-word is the first on the line
follows one of the following characters: or follows one of the characters
.Ql \&; , .Ql \&; ,
.Ql \*(Ba , .Ql \*(Ba ,
.Ql & , .Ql & ,
.Ql \&( , .Ql \&( ,
or or
.Ql \&) .Ql \&) ,
and does not contain a slash and does not contain a slash
.Pq Sq / .Pq Sq / ,
then command expansion is done; otherwise file name expansion is done. then command expansion is done; otherwise file name expansion is done.
Command expansion will match the big-word against all aliases, functions, and Command expansion will match the big-word against all aliases, functions, and
built-in commands as well as any executable files found by searching the built-in commands as well as any executable files found by searching the