summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-03-24 17:38:17 +0000
committerJim Meyering <jim@meyering.net>2004-03-24 17:38:17 +0000
commit98e876d78349f2a18c5a6420dc3215483b3ed42f (patch)
tree4f006fb8f62f40d4bcee7e3fc728dbede1546ab8 /doc
parentd2ec7be5c3346d284cc95b3b94a7e5cfb29a8920 (diff)
downloadcoreutils-98e876d78349f2a18c5a6420dc3215483b3ed42f.tar.xz
(Block size): Document new envvar BLOCKSIZE.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi14
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 83815275c..d4cb3ad73 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -751,6 +751,7 @@ used for display is independent of any filesystem block size.
Fractional block counts are rounded up to the nearest integer.
@opindex --block-size=@var{size}
+@vindex BLOCKSIZE
@vindex BLOCK_SIZE
@vindex DF_BLOCK_SIZE
@vindex DU_BLOCK_SIZE
@@ -771,9 +772,18 @@ Similarly, @env{DU_BLOCK_SIZE} specifies the default for @command{du} and
This specifies the default block size for all three commands, if the
above command-specific environment variables are not set.
+@item BLOCKSIZE
+This specifies the default block size for all values that are normally
+printed as blocks, if neither @env{BLOCK_SIZE} nor the above
+command-specific environment variables are set. Unlike the other
+environment variables, @env{BLOCKSIZE} does not affect values that are
+normally printed as byte counts, e.g., the file sizes contained in
+@code{ls -l} output.
+
@item POSIXLY_CORRECT
-If neither the @env{@var{command}_BLOCK_SIZE} nor the @env{BLOCK_SIZE}
-variables are set, but this variable is set, the block size defaults to 512.
+If neither @env{@var{command}_BLOCK_SIZE}, nor @env{BLOCK_SIZE}, nor
+@env{BLOCKSIZE} is set, but this variable is set, the block size
+defaults to 512.
@end table