df utility bug(let)

In QRTP the df utility does not support the -h option (show headings).

I assume that someone is going to say that the -h option is not POSIX but I
really want to see column headings.

Bill at Sierra Design <BC@sierradesign.com> wrote:

In QRTP the df utility does not support the -h option (show headings).

I assume that someone is going to say that the -h option is not POSIX but I
really want to see column headings.

$ use df
df - report free disk space (POSIX)

df [-gknP] [device|directory|file]*

-g Display all statvfs() information
-k Use 1024-byte units (default is 512-byte)
-n Display file system mount points and types only
-P Display output in POSIX 1003.2/5.8.6.1 format

So you never tried -P ?

-xtang

df -P will give header info.

Peter

Bill at Sierra Design <BC@sierradesign.com> wrote:
: In QRTP the df utility does not support the -h option (show headings).

: I assume that someone is going to say that the -h option is not POSIX but I
: really want to see column headings.

Sorry, didn’t see that the question had already been answered.
(time for more coffee)

Peter Martin <peterm@qnx.com> wrote:
: df -P will give header info.

: Peter

: Bill at Sierra Design <BC@sierradesign.com> wrote:
: : In QRTP the df utility does not support the -h option (show headings).

: : I assume that someone is going to say that the -h option is not POSIX but I
: : really want to see column headings.