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/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276556

            Bug ID: 276556
           Summary: add CLICOLOR to --color=3Dauto 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=3D247891&action=
=3Dedit
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=3Dauto.  (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 (=E2=80=9CPOSIX.1=E2=80=9D).

But CLICOLOR is missing in --color=3Dauto 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.

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



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