summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-02-05 12:36:22 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-02-05 12:36:22 +0000
commit8f106cfcc120c058aea9f5ef15cac8aeb69993b0 (patch)
treef31ba2a7ee87e6f2f9a6168e24e88065ffbe028c /bin
parente6103882214d98d9da732caf04cd22f7d76c5ced (diff)
note that symlinks in test file are followed, except -h and -L
(just like test(1) does); from paul de weerd;
Diffstat (limited to 'bin')
-rw-r--r--bin/ksh/ksh.19
-rw-r--r--bin/ksh/ksh.1tbl9
-rw-r--r--bin/ksh/sh.19
-rw-r--r--bin/ksh/sh.1tbl9
4 files changed, 32 insertions, 4 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1
index 32180f9cff5..6b63039bb74 100644
--- a/bin/ksh/ksh.1
+++ b/bin/ksh/ksh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1,v 1.89 2005/02/02 07:53:01 otto Exp $
+.\" $OpenBSD: ksh.1,v 1.90 2005/02/05 12:36:21 jmc Exp $
.\"
.\" Public Domain
.\"
@@ -3733,6 +3733,13 @@ It is normally used as the condition command of
and
.Ic while
statements.
+Symbolic links are followed for all
+.Ar file
+expressions except
+.Fl h
+and
+.Fl L .
+.Pp
The following basic expressions are available:
.Bl -tag -width 17n
.It Fl r Ar file
diff --git a/bin/ksh/ksh.1tbl b/bin/ksh/ksh.1tbl
index 0848d48675d..9eb85b9d603 100644
--- a/bin/ksh/ksh.1tbl
+++ b/bin/ksh/ksh.1tbl
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ksh.1tbl,v 1.89 2005/02/02 07:53:01 otto Exp $
+.\" $OpenBSD: ksh.1tbl,v 1.90 2005/02/05 12:36:21 jmc Exp $
.\"
.\" Public Domain
.\"
@@ -3733,6 +3733,13 @@ It is normally used as the condition command of
and
.Ic while
statements.
+Symbolic links are followed for all
+.Ar file
+expressions except
+.Fl h
+and
+.Fl L .
+.Pp
The following basic expressions are available:
.Bl -tag -width 17n
.It Fl r Ar file
diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1
index 24682940c02..1849460e50a 100644
--- a/bin/ksh/sh.1
+++ b/bin/ksh/sh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sh.1,v 1.61 2005/02/02 07:53:01 otto Exp $
+.\" $OpenBSD: sh.1,v 1.62 2005/02/05 12:36:21 jmc Exp $
.\"
.\" Public Domain
.\"
@@ -3038,6 +3038,13 @@ It is normally used as the condition command of
and
.Ic while
statements.
+Symbolic links are followed for all
+.Ar file
+expressions except
+.Fl h
+and
+.Fl L .
+.Pp
The following basic expressions are available:
.Bl -tag -width 17n
.It Fl r Ar file
diff --git a/bin/ksh/sh.1tbl b/bin/ksh/sh.1tbl
index 894273bce89..0dd3e8d4fab 100644
--- a/bin/ksh/sh.1tbl
+++ b/bin/ksh/sh.1tbl
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sh.1tbl,v 1.61 2005/02/02 07:53:01 otto Exp $
+.\" $OpenBSD: sh.1tbl,v 1.62 2005/02/05 12:36:21 jmc Exp $
.\"
.\" Public Domain
.\"
@@ -3038,6 +3038,13 @@ It is normally used as the condition command of
and
.Ic while
statements.
+Symbolic links are followed for all
+.Ar file
+expressions except
+.Fl h
+and
+.Fl L .
+.Pp
The following basic expressions are available:
.Bl -tag -width 17n
.It Fl r Ar file