Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2024 15:18:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 276556] add CLICOLOR to --color=auto description in ls(1)
Message-ID:  <bug-276556-9@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276556

            Bug ID: 276556
           Summary: add CLICOLOR to --color=auto description in ls(1)
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: bsdcode@disroot.org
                CC: doc@FreeBSD.org

Created attachment 247891
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247891&action=edit
add CLICOLOR to description

Manpage ls(1) lists CLICOLOR in option -G:

-G      Enable colorized output.  This option is equivalent to defining
        CLICOLOR or COLORTERM in the environment and setting
        --color=auto.  (See below.)  This functionality can be compiled
        out by removing the definition of COLORLS.  This option is not
        defined in IEEE Std 1003.1-2008 (“POSIX.1”).

But CLICOLOR is missing in --color=auto description:

        auto will make ls output escape sequences based on termcap(5),
        but only if stdout is a tty and either the -G flag is specified
        or the COLORTERM environment variable is set and not empty.

Patch adds CLICOLOR to description.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276556-9>