summary refs log tree commit diff
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2008-10-17 09:16:26 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-10-17 09:16:26 +0800
commitc84c44c443b19843874b1e68aa162465ae22016a (patch)
treef0f8ac1b43272784a10282beeb60288b00b86b03
parent[CD] Fixed getcwd build error for the non-glibc case (diff)
downloaddash-c84c44c443b19843874b1e68aa162465ae22016a.tar.gz
dash-c84c44c443b19843874b1e68aa162465ae22016a.zip
[MAN] Removed obsolete for loop syntax
Sven Mascheck reported that we no longer accept the non-standard
for {} syntax but the manual page still refers to it.  This patch
removes that reference.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r--ChangeLog4
-rw-r--r--src/dash.14
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 0448a23..fe5d984 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-17  Herbert Xu <herbert@gondor.apana.org.au>
+
+	* Removed obsolete for loop syntax in manual.
+
 2008-08-05  Herbert Xu <herbert@gondor.apana.org.au>
 
 	* Fixed getcwd build error for the non-glibc case.
diff --git a/src/dash.1 b/src/dash.1
index a8d6e6e..5a8e2fe 100644
--- a/src/dash.1
+++ b/src/dash.1
@@ -651,10 +651,6 @@ The words following
 .Pa in
 are expanded, and then the list is executed repeatedly with the
 variable set to each word in turn.
-do and done may be replaced with
-.Dq {
-and
-.Dq } .
 Omitting in word ... is equivalent to in "$@".
 .Pp
 The syntax of the break and continue command is