1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-26 16:18:31 +00:00
freebsd/bin
Piotr Pawel Stefaniak ced2dcadcc ls: prevent no-color build from complaining when COLORTERM is non-empty
As 257886 reports, if ls(1) is built with WITHOUT_LS_COLORS="YES", it
issues a warning whenever COLORTERM is non-empty. The warning is not
useful, so I thought to remove it, but as Ed pointed out, we may want
to have a way to determine whether a particular copy of ls has been
compiled with color support or not.

Therefore move the warnx() call to the getopt loop in
a WITHOUT_LS_COLORS build to fire when the user asks for colored output.

PR:		257886
Reported by:	Marko Turk
Reviewed by:	kevans
2021-08-19 21:22:16 +02:00
..
cat cat: style nits 2021-01-20 18:46:26 +01:00
chflags fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
chio pkgbase: Put chio in utilities 2021-06-19 17:49:44 +02:00
chmod fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
cp cp: fix indentation 2021-01-27 12:18:45 +01:00
csh
date date.1: Remove mention of -d and -f flags 2021-06-16 09:18:56 +00:00
dd
df df: remove the unused fstype var 2021-07-20 19:00:50 +02:00
domainname
echo
ed ed(1): Add two references in the SEE ALSO section 2021-04-09 09:43:49 +02:00
expr
freebsd-version
getfacl
hostname
kenv kenv: allow listing of static kernel environments 2021-07-18 23:06:19 -05:00
kill
ln
ls ls: prevent no-color build from complaining when COLORTERM is non-empty 2021-08-19 21:22:16 +02:00
mkdir
mv
pax
pkill bin/pkill: Fix {pgrep,pkill}-j_test.sh 2021-02-13 13:53:51 +00:00
ps bin/ps: Avoid function name conflict with libc uname() 2021-07-19 15:04:09 +01:00
pwait Fix typo in pwait.c introduced in 5bdce6ff54 2021-01-21 21:43:27 +00:00
pwd
realpath
rm fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
rmail
rmdir
setfacl Remove unused headers. 2020-12-12 02:26:43 +00:00
sh sh: fix NO_HISTORY build 2021-08-19 06:57:06 +02:00
sleep Soften caveat about fractional seconds for sleep(1) 2020-12-31 19:18:20 -08:00
stty Replace sscanf() by strtoul() 2020-12-27 22:32:22 +01:00
sync
test Remove unused includes. 2020-12-22 21:04:36 -08:00
tests
uuidgen
Makefile
Makefile.inc