coreutils: Formatting the file names

1 
1 10.1.7 Formatting the file names
1 --------------------------------
1 
1 These options change how file names themselves are printed.
1 
1 ‘-b’
1 ‘--escape’
1 ‘--quoting-style=escape’
1      Quote nongraphic characters in file names using alphabetic and
1      octal backslash sequences like those used in C.
1 
1 ‘-N’
1 ‘--literal’
1 ‘--quoting-style=literal’
1      Do not quote file names.  However, with ‘ls’ nongraphic characters
1      are still printed as question marks if the output is a terminal and
1      you do not specify the ‘--show-control-chars’ option.
1 
1 ‘-q’
1 ‘--hide-control-chars’
1      Print question marks instead of nongraphic characters in file
1      names.  This is the default if the output is a terminal and the
1      program is ‘ls’.
1 
1 ‘-Q’
1 ‘--quote-name’
1 ‘--quoting-style=c’
1      Enclose file names in double quotes and quote nongraphic characters
1      as in C.
1 
1 ‘--quoting-style=WORD’
1      Use style WORD to quote file names and other strings that may
1      contain arbitrary characters.  The WORD should be one of the
1      following:
1 
1      ‘literal’
1           Output strings as-is; this is the same as the ‘-N’ or
1           ‘--literal’ option.
1      ‘shell’
1           Quote strings for the shell if they contain shell
1           metacharacters or would cause ambiguous output.  The quoting
1           is suitable for POSIX-compatible shells like ‘bash’, but it
1           does not always work for incompatible shells like ‘csh’.
1      ‘shell-always’
1           Quote strings for the shell, even if they would normally not
1           require quoting.
1      ‘shell-escape’
1           Like ‘shell’, but also quoting non-printable characters using
1           the POSIX proposed ‘$''’ syntax suitable for most shells.
1      ‘shell-escape-always’
1           Like ‘shell-escape’, but quote strings even if they would
1           normally not require quoting.
1      ‘c’
1           Quote strings as for C character string literals, including
1           the surrounding double-quote characters; this is the same as
1           the ‘-Q’ or ‘--quote-name’ option.
1      ‘escape’
1           Quote strings as for C character string literals, except omit
1           the surrounding double-quote characters; this is the same as
1           the ‘-b’ or ‘--escape’ option.
1      ‘clocale’
1           Quote strings as for C character string literals, except use
1           surrounding quotation marks appropriate for the locale.
1      ‘locale’
1           Quote strings as for C character string literals, except use
1           surrounding quotation marks appropriate for the locale, and
1           quote 'like this' instead of "like this" in the default C
1           locale.  This looks nicer on many displays.
1 
1      You can specify the default value of the ‘--quoting-style’ option
1      with the environment variable ‘QUOTING_STYLE’.  If that environment
1      variable is not set, the default value is ‘shell-escape’ when the
1      output is a terminal, and ‘literal’ otherwise.
1 
1 ‘--show-control-chars’
1      Print nongraphic characters as-is in file names.  This is the
1      default unless the output is a terminal and the program is ‘ls’.
1