diff options
author | hoek <hoek@FreeBSD.org> | 1998-07-29 00:46:13 +0000 |
---|---|---|
committer | hoek <hoek@FreeBSD.org> | 1998-07-29 00:46:13 +0000 |
commit | eb80fc954a91302e6a1ddcfced0528aaa621355f (patch) | |
tree | 930c063482f30ff1022446b3692a99dd2817c70b /bin/ls/ls.1 | |
parent | d4df58a7bc400f4d07b99cf44dd6e94c8b806de3 (diff) | |
download | FreeBSD-src-eb80fc954a91302e6a1ddcfced0528aaa621355f.zip FreeBSD-src-eb80fc954a91302e6a1ddcfced0528aaa621355f.tar.gz |
Allow env. variable LS_COLWIDTHS to specify minimum column widths,
effectively overriding the dynamically-sized-column feature. This
is mostly useful for non-interactive use, where it may be necessary
to ensure that listings taken at different times have columns that
line-up correctly. I have been assured that at least one large,
well-known program will soon be taking advantage of this. :-)
PR: bin/7011
Submitted by: Joel Ray Holveck <joelh@gnu.org>
Diffstat (limited to 'bin/ls/ls.1')
-rw-r--r-- | bin/ls/ls.1 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bin/ls/ls.1 b/bin/ls/ls.1 index 94f86ef..0ace911 100644 --- a/bin/ls/ls.1 +++ b/bin/ls/ls.1 @@ -33,7 +33,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)ls.1 8.7 (Berkeley) 7/29/94 -.\" $Id: ls.1,v 1.22 1998/05/13 07:57:03 phk Exp $ +.\" $Id: ls.1,v 1.23 1998/05/15 06:22:30 charnier Exp $ .\" .Dd July 29, 1994 .Dt LS 1 @@ -373,6 +373,14 @@ The timezone to use when displaying dates. See .Xr environ 7 for more information. +.It Ev LS_COLWIDTHS +If this variable is set, it is considered to be a +colon-delimited list of minimum column widths. Unreasonable +and insufficient widths are ignored (thus zero signifies +a dynamically sized column). Not all +columns have changable widths. The fields are, +in order: inode, block count, number of links, user name, +group name, flags, file size, file name. .El .Sh COMPATIBILITY The group field is now automatically included in the long listing for |