From 083f19dc539fdecfc9fbd2cb21fad8e9334b65c0 Mon Sep 17 00:00:00 2001 From: tg Date: Mon, 14 Aug 2006 20:41:21 +0000 Subject: [PATCH] * document the feature-not-bug status of pipeline-subshell-1 * fix spelling in regression test * expand test-stlt-1 by reverse logic, just to make sure --- check.t | 10 +++++++--- mksh.1 | 8 ++++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/check.t b/check.t index c201b7a..46bbf2c 100644 --- a/check.t +++ b/check.t @@ -1,4 +1,4 @@ -# $MirOS: src/bin/mksh/check.t,v 1.55 2006/08/14 20:36:39 tg Exp $ +# $MirOS: src/bin/mksh/check.t,v 1.56 2006/08/14 20:41:21 tg Exp $ # $OpenBSD: bksl-nl.t,v 1.2 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: history.t,v 1.5 2001/01/28 23:04:56 niklas Exp $ # $OpenBSD: read.t,v 1.3 2003/03/10 03:48:16 david Exp $ @@ -3542,7 +3542,7 @@ expected-stderr-pattern: /bad substitution/ expected-exit: 1 --- -name: xxx-subsitution-eval-order +name: xxx-substitution-eval-order description: Check order of evaluation of expressions stdin: @@ -3724,15 +3724,19 @@ expected-stderr: + /usr/bin/env false expected-exit: e != 0 --- -name: test-stlt +name: test-stlt-1 description: Check that test also can handle string1 < string2 etc. stdin: test 2005/10/08 '<' 2005/08/21 && echo ja || echo nein test 2005/08/21 \< 2005/10/08 && echo ja || echo nein + test 2005/10/08 '>' 2005/08/21 && echo ja || echo nein + test 2005/08/21 \> 2005/10/08 && echo ja || echo nein expected-stdout: nein ja + ja + nein expected-stderr-pattern: !/unexpected op/ --- name: mkshrc-1 diff --git a/mksh.1 b/mksh.1 index 4877701..72c59e4 100644 --- a/mksh.1 +++ b/mksh.1 @@ -1,8 +1,8 @@ -.\" $MirOS: src/bin/mksh/mksh.1,v 1.55 2006/08/11 13:46:32 tg Exp $ +.\" $MirOS: src/bin/mksh/mksh.1,v 1.56 2006/08/14 20:41:21 tg Exp $ .\" $OpenBSD: ksh.1,v 1.116 2006/07/26 10:13:25 jmc Exp $ .\" $OpenBSD: sh.1tbl,v 1.53 2004/12/10 01:56:56 jaredy Exp $ .\" -.Dd August 11, 2006 +.Dd August 14, 2006 .Dt MKSH 1 .Os MirBSD .Sh NAME @@ -5319,3 +5319,7 @@ The author is aware of this and there is no need to report it. This does not work because the last command of a pipe sequence is run in a subshell. +In +.Nm "" , +this is a feature which can be depended on by scripts. +Use co-routines to work around if necessary and possible.