mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 11:16:16 +02:00
doc: colorize -> color
Living so close to Hollywood I know that "colorize" means adding color to something that was already monochrome, whereas "color" means to give color to something. Coreutils apps color text instead of colorizing it.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# Ensure "ls --color" properly colorizes file with capability.
|
||||
# Ensure "ls --color" properly colors name of file with capability.
|
||||
|
||||
# Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# Ensure "ls --color" properly colorizes file extensions
|
||||
# Ensure "ls --color" properly colors file name extensions.
|
||||
|
||||
# Copyright (C) 2018-2021 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ touch nocolor || framework_failure_
|
||||
|
||||
TCOLORS="no=7:ex=01;32"
|
||||
|
||||
# Non coloured files inherit NORMAL attributes
|
||||
# Uncolored file names inherit NORMAL attributes.
|
||||
LS_COLORS=$TCOLORS ls -gGU --color exe nocolor | qls >> out || fail=1
|
||||
LS_COLORS=$TCOLORS ls -xU --color exe nocolor >> out || fail=1
|
||||
LS_COLORS=$TCOLORS ls -gGU --color nocolor exe | qls >> out || fail=1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# Ensure "ls --color" properly colorizes hard linked files.
|
||||
# Ensure "ls --color" properly colors names of hard linked files.
|
||||
|
||||
# Copyright (C) 2008-2021 Free Software Foundation, Inc.
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ n_stat2=$(grep -vF '+++' log2 | wc -l) || framework_failure_
|
||||
test $n_stat1 = $(($n_stat2 - 1)) \
|
||||
|| { fail=1; head -n30 log*; }
|
||||
|
||||
# Check that output is colorized, as requested, too.
|
||||
# Check that output is colored, as requested, too.
|
||||
{
|
||||
printf '\033[0m\033[01;35mlink-to-x\033[0m@\n'
|
||||
printf '\033[01;32mx\033[0m*\n'
|
||||
|
||||
Reference in New Issue
Block a user