[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: df & du should honor $BLOCKSIZE
From: |
Peter Seebach |
Subject: |
Re: df & du should honor $BLOCKSIZE |
Date: |
Fri, 20 Feb 2004 16:47:12 -0600 |
In message <address@hidden>, Jim Meyering writes:
>address@hidden (Peter Seebach) wrote:
>...
>> This seems wrong. The user setting $BLOCKSIZE presumably intends it to
>
>If you spell it `BLOCK_SIZE', then it should work.
Hmm. When did this spelling change? In old man pages
(http://reviewed.homelinux.org/man/df/), I see BLOCKSIZE.
I assume that the $BLOCKSIZE (no _) spelling is a BSDism... But I do note
that the POSIX spec lists it as a proposed extension, with that spelling.
It seems to me like it would be reasonable to use $BLOCKSIZE if $BLOCK_SIZE
isn't set, simply because it's widely used elsewhere. (Convenient for me that
I ran into this while writing an article about shell script portability.)
-s
- df & du should honor $BLOCKSIZE, Peter Seebach, 2004/02/20
- Re: df & du should honor $BLOCKSIZE, Jim Meyering, 2004/02/20
- Re: df & du should honor $BLOCKSIZE,
Peter Seebach <=
- Re: df & du should honor $BLOCKSIZE, Paul Eggert, 2004/02/23
- Re: df & du should honor $BLOCKSIZE, Peter Seebach, 2004/02/23
- Re: df & du should honor $BLOCKSIZE, Paul Eggert, 2004/02/23
- Re: df & du should honor $BLOCKSIZE, Peter Seebach, 2004/02/23
- Re: df & du should honor $BLOCKSIZE, Paul Eggert, 2004/02/25
- Re: df & du should honor $BLOCKSIZE, Peter Seebach, 2004/02/26