From 8967f13bc6526e76dd78e84cdf7eb39de431e729 Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 20 Mar 2015 21:23:52 +0000 Subject: [PATCH] =?UTF-8?q?oksh=20rcsid-only=20sync,=20plus=20a=20fix=20in?= =?UTF-8?q?=20the=20commit=20whose=20body=20I=20skipped=20sync=E2=80=99ing?= =?UTF-8?q?,=20plus=20a=20bonus=20fix=20inspired=20by=20their=20commits=20?= =?UTF-8?q?in=20sh.1=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mksh.1 | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/mksh.1 b/mksh.1 index 8c12352..90bac2b 100644 --- a/mksh.1 +++ b/mksh.1 @@ -1,5 +1,5 @@ -.\" $MirOS: src/bin/mksh/mksh.1,v 1.355 2015/03/14 05:23:16 tg Exp $ -.\" $OpenBSD: ksh.1,v 1.157 2015/03/13 19:58:40 jmc Exp $ +.\" $MirOS: src/bin/mksh/mksh.1,v 1.356 2015/03/20 21:23:52 tg Exp $ +.\" $OpenBSD: ksh.1,v 1.158 2015/03/15 14:33:21 jmc Exp $ .\"- .\" Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, .\" 2010, 2011, 2012, 2013, 2014, 2015 @@ -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: March 14 2015 $ +.Dd $Mdocdate: March 20 2015 $ .\" .\" Check which macro package we use, and do other -mdoc setup. .\" @@ -1255,10 +1255,8 @@ and .Sq D . Note that if the .Ev IFS -parameter is set to the -.Dv NULL -string, no field splitting is done; if the parameter is unset, the default -value of space, tab, and newline is used. +parameter is set to the empty string, no field splitting is done; +if it is unset, the default value of space, tab, and newline is used. .Pp Also, note that the field splitting applies only to the immediate result of the substitution. @@ -1796,21 +1794,16 @@ word of the previous command. .It Ev BASHPID The PID of the shell or subshell. .It Ev CDPATH -Search path for the +Like +.Ev PATH , +but used to resolve the argument to the .Ic cd built-in command. -It works the same way as -.Ev PATH -for those directories not beginning with -.Ql / -in -.Ic cd -commands. Note that if .Ev CDPATH is set and does not contain .Sq \&. -or contains an empty path, the current directory is not searched. +or an empty string element, the current directory is not searched. Also, the .Ic cd built-in command will display the resulting directory when a match is found