[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ls -l `file type' column not documented

From: Paul Eggert
Subject: Re: ls -l `file type' column not documented
Date: Wed, 12 Apr 2006 22:25:53 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Thanks for mentioning that.  I installed the following patch.
(Come to think of it, the set of letters should be updated,
but that's a different patch.)

2006-04-12  Paul Eggert  <address@hidden>

        * coreutils.texi (What information is listed): Document 'ls'
        type letters.  Problem reported by Lincoln Martin.

--- coreutils.texi      12 Apr 2006 07:47:11 -0000      1.322
+++ coreutils.texi      13 Apr 2006 04:01:47 -0000      1.323
@@ -5772,10 +5772,42 @@ bytes, but this can be overridden (@pxre
 The @var{blocks} computed counts each hard link separately;
 this is arguably a deficiency.
+The file type is one of the following characters:
address@hidden @samp
address@hidden -
+regular file
address@hidden b
+block special file
address@hidden c
+character special file
address@hidden C
+high performance (``contiguous data'') file
address@hidden d
address@hidden D
address@hidden l
+symbolic link
address@hidden @item m
address@hidden multiplexed character special file (7th edition Unix; obsolete)
address@hidden M
+off-line (``migrated'') file (Cray DMF)
address@hidden n
+network special file (HP-UX)
address@hidden p
+FIFO (named pipe)
address@hidden s
address@hidden ?
+some other file type
address@hidden table
 @cindex permissions, output by @command{ls}
 The file mode bits listed are similar to symbolic mode specifications
 (@pxref{Symbolic Modes}).  But @command{ls} combines multiple bits into the
 third character of each set of permissions as follows:
 @table @samp
 @item s
 If the setuid or setgid bit and the corresponding executable bit
@@ -6065,6 +6097,7 @@ like @option{-F}, except that executable
 @opindex --indicator-style
 Append a character indicator with style @var{word} to entry names,
 as follows:
 @table @samp
 @item none
 Do not append any character indicator; this is the default.
@@ -6311,6 +6344,7 @@ in C.
 Use style @var{word} to quote file names and other strings that may
 contain arbitrary characters.  The @var{word} should
 be one of the following:
 @table @samp
 @item literal
 Output strings as-is; this is the same as the @option{-N} or
@@ -6745,6 +6779,7 @@ heuristic and makes the corresponding ou
 Only regular files may be sparse.
 The @var{when} value can be one of the following:
 @table @samp
 @item auto
 The default behavior: if the input file is sparse, attempt to make

reply via email to

[Prev in Thread] Current Thread [Next in Thread]