1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00
freebsd/usr.bin
Ian Lepore d937171727 Support --all-repeats in uniq(1) for compatibility with gnu coreutils.
This adds a new -D/--all-repeats option to uniq(1), which outputs each copy
of any repeated lines (as opposed to a single copy of a repeated line). You
can specify a separator option to output a blank line before or after each
group of repeated lines. This adds compatibility with the GNU coreutils
version of uniq(1).

This change also re-groups the -c, -d, -D, -u options in the usage display
and man page to indicate that they are mutally exclusive of each other. This
matches the posix/opengroup definition of uniq(1) command line args. Note
that this change does NOT actually enforce the mutual exclusion in the code,
for now, it simply documents that the arguments should be considered
exclusive with each other.

Differential Revision:	https://reviews.freebsd.org/D22262
2019-12-15 18:05:18 +00:00
..
addr2line
alias
apply
ar ar: use more correct size_t type for loop index 2019-09-01 16:51:25 +00:00
asa
at
atm
awk Fix .depend files to work for build tools. 2019-06-15 17:08:13 +00:00
banner
basename
bc
biff
bluetooth pkgbase: Add a FreeBSD-bluetooth package 2019-07-19 15:10:03 +00:00
bmake
brandelf Update Makefile.depend files 2019-12-11 17:37:53 +00:00
bsdcat MFV r348971,r348977: 2019-06-12 13:34:12 +00:00
bsdiff bspatch: add integer overflow checks 2019-09-26 13:27:25 +00:00
bzip2 Install all bzip2.1 MLINKs from the same place. 2019-08-28 21:01:51 +00:00
bzip2recover Install all bzip2.1 MLINKs from the same place. 2019-08-28 21:01:51 +00:00
c89
c99
caesar
calendar Correct date and time of George Harrison's death. 2019-11-29 23:04:45 +00:00
cap_mkdb
chat
chkey Update Makefile.depend files 2019-12-11 17:37:53 +00:00
chpass Update Makefile.depend files 2019-12-11 17:37:53 +00:00
cksum
clang Ensure lld respects the WITH/WITHOUT_SHARED_TOOLCHAIN option 2019-10-16 17:11:18 +00:00
cmp Drop "All rights reserved" from the files I own 2019-03-11 22:23:56 +00:00
col
colrm
column
comm
compile_et
compress
cpio There is no SMALLER define anymore here 2019-07-12 05:19:06 +00:00
cpuset Fix an off-by-one bug in the CPU and domain ID parser. 2019-09-01 21:20:31 +00:00
csplit
ctags
ctlstat
cut
cxxfilt
dc Adjust history, info source from v1's manuals 2019-09-04 13:44:46 +00:00
diff
diff3
dirname
dpv pkgbase: Add a FreeBSD-dpv package 2019-07-19 15:10:53 +00:00
drill
dtc dtc: Allow multiple dts-v1 tag 2019-10-26 17:10:27 +00:00
du pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
ee
elf2aout
elfdump
enigma
env Add -0 option to ENV(1) 2019-11-07 17:14:59 +00:00
etdump
expand
factor Update Makefile.depend files 2019-12-11 17:37:53 +00:00
false
fetch
file
file2c
find
finger
fmt
fold
fortune
from
fstat Grammar fix. 2019-10-28 21:48:20 +00:00
fsync pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
ftp
gcore gcore: Avoid using vm_map_entry_t. 2019-12-07 20:01:55 +00:00
gencat
getaddrinfo
getconf Update the spelling of my name 2019-04-22 17:52:46 +00:00
getent
getopt
gprof gprof: disable building of a.out components 2019-08-21 10:54:52 +00:00
grdc Remove remnant from the pre LIBADD era 2019-09-13 14:51:00 +00:00
grep Update Makefile.depend files 2019-12-11 17:37:53 +00:00
gzip Update Makefile.depend files 2019-12-11 17:37:53 +00:00
head Update Makefile.depend files 2019-12-11 17:37:53 +00:00
hesinfo
hexdump hexdump(1): Exit gracefully on format strings missing conversion 2019-04-13 16:51:48 +00:00
host
iconv
id
ident
indent - address missing whitespace for indent 2019-08-29 23:23:12 +00:00
ipcrm
ipcs
iscsictl
join
jot jot.1: Explain default argument values more precisely 2019-09-21 15:01:11 +00:00
kdump Update Makefile.depend files 2019-12-11 17:37:53 +00:00
keylogin
keylogout
killall Revert r352953: Convert pnmatch to single element array in regexec calls 2019-10-02 16:08:01 +00:00
ktrace Make it clear what the userland traces are in the ktrace(1) man page. 2019-08-26 10:18:19 +00:00
ktrdump
lam
last last(1): fix style after r351459 2019-08-25 01:05:01 +00:00
lastcomm
ldd
ldd32 libcompat: Correct rtld MLINKS 2019-11-12 22:31:59 +00:00
leave
less MFV r349535: less v551. 2019-06-29 18:41:40 +00:00
lessecho
lesskey
lex Update Makefile.depend files 2019-12-11 17:37:53 +00:00
limits
locale locale: initialize variables to make gcc happy 2019-09-11 16:00:03 +00:00
localedef
locate
lock
lockf lockf(1): return EX_UNAVAILABLE if -n is used and the lock file does not 2019-03-20 07:40:38 +00:00
logger
login Update Makefile.depend files 2019-12-11 17:37:53 +00:00
logins
logname
look
lorder
lsvfs
lzmainfo
m4 m4: import from OpenBSD 2019-09-09 15:37:40 +00:00
mail
man
mandoc Suppress old gcc warning about null format string 2019-04-12 18:35:14 +00:00
mesg
minigzip Move contrib/zlib to sys/contrib/zlib so that we can use it in kernel. 2019-05-08 08:43:15 +00:00
ministat Improve the way we calculate variance to reduce the rounding errors 2019-10-18 07:55:01 +00:00
mkcsmapper
mkcsmapper_static
mkdep
mkesdb
mkesdb_static
mkfifo
mkimg
mkstr
mktemp
mkuzip geom_uzip(4), mkuzip(8): Add Zstd image mode 2019-08-13 23:32:56 +00:00
morse
msgs
mt
nc Add -M option to nc(1), which makes it print the TCP connection 2019-12-14 10:53:52 +00:00
ncal
netstat Update Makefile.depend files 2019-12-11 17:37:53 +00:00
newgrp
newkey
nfsstat Fix printing of Server Re-Failed and Server Faults. 2019-07-28 21:44:01 +00:00
nice
nl
nm Update Makefile.depend files 2019-12-11 17:37:53 +00:00
nohup
number
objcopy
ofed
opieinfo
opiekey
opiepasswd
pagesize
pamtest
passwd pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
paste
patch patch(1): give /dev/null patches special treatment 2019-11-04 03:07:01 +00:00
pathchk
perror
pom
posixshmcontrol Minor tweaks to the layout. 2019-05-30 16:02:40 +00:00
pr Drop "All rights reserved" from the files I own 2019-03-11 22:23:56 +00:00
primes
printenv
printf printf(1): Note that \c only works in %b strings 2019-07-29 20:43:07 +00:00
proccontrol Add stackgap control mode to proccontrol(1). 2019-09-03 18:58:48 +00:00
procstat Remove IS_INADDR_ANY(). 2019-10-19 19:38:53 +00:00
protect
quota Add a workaround for servers which respond RPC_PROGNOTREGISTERED 2019-09-21 00:17:40 +00:00
random random(6): produce random results 2019-12-13 04:37:39 +00:00
rctl rctl: fix sysctl kern.racct.enable use after r341182 2019-04-03 20:37:14 +00:00
readelf Update Makefile.depend files 2019-12-11 17:37:53 +00:00
renice
resizewin
rev
revoke
rpcgen rpcgen: make compiler arglist allocation dynamic 2019-10-15 16:05:17 +00:00
rpcinfo
rs
rup
ruptime
rusers
rwall
rwho
script
sdiff
sdiotool
sed sed: process \r, \n, and \t 2019-12-10 19:16:00 +00:00
seq
setchannel
shar
showmount [showmount] implement long options 2019-12-12 05:11:53 +00:00
size Update Makefile.depend files 2019-12-11 17:37:53 +00:00
smbutil
sockstat
soelim
sort Update Makefile.depend files 2019-12-11 17:37:53 +00:00
split Revert r352953: Convert pnmatch to single element array in regexec calls 2019-10-02 16:08:01 +00:00
ssh-copy-id
stat Unbreak the tests after r347002. 2019-05-01 19:35:45 +00:00
stdbuf
strings Update Makefile.depend files 2019-12-11 17:37:53 +00:00
su Update Makefile.depend files 2019-12-11 17:37:53 +00:00
svn
systat Add stat counter for ipv6 atomic fragments 2019-04-19 17:06:43 +00:00
tabs
tail Update Makefile.depend files 2019-12-11 17:37:53 +00:00
talk
tar pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
tcopy
tee
telnet Update Makefile.depend files 2019-12-11 17:37:53 +00:00
tests
tftp tftp: fix two minor Coverity CIDs 2019-10-03 20:22:25 +00:00
time
timeout
tip tip/cu: check for EOF on input on the local side 2019-11-11 17:41:52 +00:00
top Add a "B" suffix to memory quantities in top(1) output. 2019-11-18 20:55:01 +00:00
touch
tput
tr
true
truncate
truss truss: centralize pointer-constructing casts. 2019-10-31 22:29:13 +00:00
tset
tsort
tty
ul
uname pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
unexpand
unifdef Re-apply fixed r354847 2019-11-20 19:43:34 +00:00
uniq Support --all-repeats in uniq(1) for compatibility with gnu coreutils. 2019-12-15 18:05:18 +00:00
units
unvis
unzip
usbhidaction
usbhidctl Include item position in report descriptor dump in usbhidctl(1). 2019-08-17 08:29:22 +00:00
users
uudecode
uuencode
vacation
vgrind
vi Remove RELEASE_CRUNCH here 2019-07-19 20:04:31 +00:00
vis
vmstat Humanize more columns in the vmstat(8) output and adjust widths. 2019-11-08 11:09:50 +00:00
vtfontcvt vtfontcvt: simplify rshift_row 2019-08-23 16:03:23 +00:00
w Fix address annotation in xml output from w 2019-08-29 02:44:18 +00:00
wall
wc Update Makefile.depend files 2019-12-11 17:37:53 +00:00
what pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
whereis
which
who
whois Update RFC references in the whois(1) man page. 2019-08-08 21:15:02 +00:00
write
xargs
xinstall Allow boostrapping xinstall on Linux 2019-11-20 17:24:49 +00:00
xo
xohtml Import libxo-1.3.1: 2019-11-07 18:06:44 +00:00
xolint
xopo
xstr
xz
xzdec
yacc
yes
ypcat
ypmatch
ypwhich
zstd Update to Zstandard 1.4.0 2019-04-19 02:54:13 +00:00
Makefile libcompat: build 32-bit rtld and ldd as part of "everything" 2019-11-07 22:58:10 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc
Makefile.sparc64