diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-03 18:30:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-03 18:30:56 +0000 |
commit | 722a5681070e11d63fd7d37397247db1272cb709 (patch) | |
tree | 12e10445990283c8e84266b813e3b50a634cbd14 /usr.bin/stat/stat.1 | |
parent | 5084bac86a0c29797507aafc3a1f283df9a435e8 (diff) |
we do readlink seperately; ok otto
Diffstat (limited to 'usr.bin/stat/stat.1')
-rw-r--r-- | usr.bin/stat/stat.1 | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/usr.bin/stat/stat.1 b/usr.bin/stat/stat.1 index 2033fab9f89..3ae5099581c 100644 --- a/usr.bin/stat/stat.1 +++ b/usr.bin/stat/stat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: stat.1,v 1.6 2005/04/02 22:09:49 jmc Exp $ +.\" $OpenBSD: stat.1,v 1.7 2005/04/03 18:30:55 deraadt Exp $ .\" $NetBSD: stat.1,v 1.11 2003/05/08 13:07:10 wiz Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -39,8 +39,7 @@ .Dt STAT 1 .Os .Sh NAME -.Nm stat , -.Nm readlink +.Nm stat .Nd display file status .Sh SYNOPSIS .Nm @@ -51,9 +50,6 @@ .Oc .Op Fl t Ar timefmt .Op Ar -.Nm readlink -.Op Fl n -.Op Ar .Sh DESCRIPTION The .Nm @@ -66,13 +62,6 @@ If no argument is given, .Nm displays information about the file descriptor for standard input. .Pp -When invoked as -.Nm readlink , -only the target of the symbolic link is printed. -If the given argument is not a symbolic link, -.Nm readlink -will print nothing and exit with an error. -.Pp The information displayed is obtained by calling .Xr lstat 2 with the given argument and evaluating the returned structure. @@ -119,9 +108,6 @@ Suppress failure messages if calls to or .Xr lstat 2 fail. -When run as -.Nm readlink , -error messages are automatically suppressed. .It Fl r Display raw information. That is, for all the fields in the stat-structure, |