NetBSD/usr.bin
kre a868903568 Add the posix -C option (-c but quieter). Fix -R to work properly when
setting \n as the record delimited using a numeric value rather than literal
\n - and to not incorrectly turn \n into a field separator if -R is used to
make some other char the record separator (\n becomes a field separator in
that case as long as the field separator remains "white space" but should not
be in any other case - unless set explicitly of course.)

Plus more cosmetic changes - the man page and usage are updated to make it
more clear that the 2 (or 1) params to -k are not fields (field1 and field2)
but specifiers of the beginning and end of one key field.   There was an
unused 'x' option in the GETOPTS string.  The usage message is reformatted
to display properly on both 80 col and > 80 col displays (on < 80 it will
still probably look pretty ugly ... perhaps not quite so bad though), and
is also updated to show the different usage for the -c case (and -C) from the
others (only 1 file permitted) - the man page synopsis has a similar update.

Using more than one of -c -C or -m generates a usage message rather than
just ignoring the -m as it did before (there was no -C before of course).

Aside from the bug fix to the interaction between -R and -t, there are no
changes that affect the way anything is sorted (or read, or written).

Discussed on tech-userlevel earlier this week.
2016-06-01 02:37:55 +00:00
..
apply Be more precise. 2016-03-14 09:53:37 +00:00
apropos
asa
at Mark the shared files with where they're used, like we do in pkgsrc. 2016-03-13 00:33:12 +00:00
audio rename struct write_info as struct track_info, and the variable name 'wi' 2015-08-05 06:54:39 +00:00
audiocfg if opening the audio device fails, try opening again with write-only. 2016-03-05 22:10:39 +00:00
banner
basename
bdes PR/50739: David Binderman: Check bounds before dereferencing. 2016-02-01 17:41:37 +00:00
biff
bthset use correct offset for channel in SDP record 2016-03-06 21:12:07 +00:00
btkey
btpin
bzip2
bzip2recover
c89 this are our's not gnu 2016-01-14 04:27:26 +00:00
c99 this are our's not gnu 2016-01-14 04:27:26 +00:00
cal
calendar allllllexander the greeeaaaaat, his name struck fear into hearts of men! 2016-02-15 20:58:02 +00:00
cap_mkdb
cdplay
checknr
chflags
chpass Fixed memory leak (CID 978341) 2015-10-27 14:47:45 +00:00
cksum
cleantags
cmp
col
colcrt
colrm
column
comm
compress
config New sentence, new line. Bump date for previous. 2016-05-02 09:33:15 +00:00
crunch Don't make crunch binaries PIE 2016-05-29 16:12:58 +00:00
csplit
ctags
cut
cvslatest Toolify 2016-01-24 20:14:44 +00:00
db
deroff
dirname
du
eject
elf2aout Gcc, please shut up with those stupid warnings! 2016-03-07 22:16:38 +00:00
elf2ecoff
env
error Use this program's Strdup() instead of strdup() so it exits on failure 2016-05-30 16:35:35 +00:00
expand
extattr
false
fdformat
fgen Unbreak tools build. 2016-03-10 11:32:10 +00:00
fincore
find
finger in find_idle_and_ttywrite(), initialize idletime and writable to 0 2016-03-09 16:12:14 +00:00
flock
fmt
fold
fpr
from
fsplit
fstat put _KMEMUSER in the Makefile 2016-01-23 16:12:03 +00:00
ftp PR/51043: Yorick Hardy: ftp(1) should use the port number for CONNECT 2016-04-04 23:59:41 +00:00
gcore
genassym
gencat
getaddrinfo
getconf
getent
getopt
gettext
gprof
grep
gzip remove clauses 3, 4 2016-01-29 15:19:01 +00:00
head If the negative number is passed to option '-c' or '-n', 2016-05-12 01:56:44 +00:00
hesinfo
hexdump Don't try to use stdin after clobbering it with a failed freopen(). 2016-03-04 03:02:52 +00:00
iconv
id
indent Remove trailing whitespace. 2016-02-25 14:55:56 +00:00
infocmp CID 1356387: Wrong sizeof 2016-03-16 21:01:28 +00:00
innetgr
ipcrm
ipcs
join
jot Bump date for previous 2016-01-04 23:55:36 +00:00
kdump Symbolic printing for mmap 2016-06-01 00:47:16 +00:00
klist
ktrace
ktruss Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
lam Bump date for previous 2016-01-04 23:55:36 +00:00
last
lastcomm
ldd Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
leave
locale
locate
lock
logger
login - Added error checks for initgroups(3) and setgroups(2). 2015-10-29 11:31:52 +00:00
logname
look
lorder
m4 Explain what REDIRECT is for. 2016-01-23 14:24:43 +00:00
machine
mail PR/50746: David Binderman: Check bounds before dereferencing. 2016-02-03 05:18:58 +00:00
make Propagate errors from filemon. 2016-05-12 20:28:34 +00:00
man put back _PATH_WHATIS, it is used. 2016-05-21 20:54:34 +00:00
menuc
mesg
midiplay
midirecord add "-R <roundbeats>" option, to round beat counts to be aligned to 2015-09-23 05:31:01 +00:00
mixerctl
mkcsmapper
mkdep
mkesdb
mkfifo
mklocale
mkstr
mktemp
mkubootimage
moduli
msgc
msgs Avoid leaking a file handle on error opening the next file. From 2015-12-31 01:16:47 +00:00
nbperf
nbsvtool
netgroup
netstat Remove duplicate routing flag list 2016-05-12 03:44:11 +00:00
newgrp
newsyslog
nfsstat
nice
nl
nohup
pagesize
passwd
paste
patch Explain what "-V none" does. 2015-11-07 18:26:55 +00:00
pathchk
pkill
pmap Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
pmc
pr
printenv
printf
progress
pwait
pwhash md5 is a hashing algorithm, don't say it is used for encryption. 2016-05-24 06:15:43 +00:00
qsubst
quota
radioctl
rdist
renice
rev
revoke
rfcomm_sppd
rlogin Added missing sa_mask initialization (CID 979636) 2015-10-28 08:15:53 +00:00
rpcgen u_int -> unsigned int, in some of the output. 2016-01-23 02:33:09 +00:00
rpcinfo
rs Bump date for previous 2016-01-04 23:55:36 +00:00
rsh
rump_allserver Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
rump_dhcpclient Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
rump_halt Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
rump_server Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
rump_wmd
rup
ruptime
rusers
rwall
rwho
script
sdiff
sdpquery update several profiles, bringing up to date decoding of all the 2015-12-11 21:05:18 +00:00
sed PR/49872:Yorick Hardy: sed functions 'i' and 'a' discard leading white space 2016-04-05 00:13:03 +00:00
seq
shar
shlock
shmif_dumpbus
showmount PR/50712: David Binderman: Fix memory leaks. 2016-01-26 16:23:27 +00:00
shuffle
skey
skeyinfo
skeyinit
sockstat
soelim
sort Add the posix -C option (-c but quieter). Fix -R to work properly when 2016-06-01 02:37:55 +00:00
sortinfo switch to getline(3) 2015-12-21 16:17:09 +00:00
spell
split
stat
su Do not use pamh after pam_end. It's cosmetic change since pam_strerror 2015-08-09 09:39:21 +00:00
systat NetBSD does actually support flat-panel displays. Even for systat(1). 2016-03-12 02:39:01 +00:00
tabs
tail PR/50322: Timo Buhrmester: tail -F <file> misbehaves with stdin closed 2015-10-09 17:51:26 +00:00
talk
tcopy
tee
telnet
tftp
tic White space police. 2016-02-24 12:01:44 +00:00
time
timeout
tip Put back -n 2016-01-03 15:38:29 +00:00
touch
tpfmt
tput
tr
true
tset
tsort
tty
ul
uname
unexpand PR/50750: David Binderman: Check bounds before dereference 2016-02-03 05:32:14 +00:00
unifdef
uniq
units File watt in the right group, and accept W as well, as that's quite 2016-02-05 03:38:50 +00:00
unvis
unzip From FreeBSD: 2015-12-21 17:17:02 +00:00
usbhidaction - PR/50291: Fix memory leak 2015-09-29 14:27:00 +00:00
usbhidctl
users
utoppya
uudecode
uuencode
uuidgen
vacation
vgrind
videoctl
vis
vmstat Work around gcc on sparc64 bug 2016-03-06 18:01:28 +00:00
vndcompress __diagused, not __unused -- used in an assert. 2016-04-07 23:29:59 +00:00
w
wall PR/50454: Timo Buhrmester: Fix wrong allocation for wall(1) -g 2015-11-21 14:59:51 +00:00
wc
what Clarify that SCCS is a specific thing and not a generic thing. 2015-12-12 09:52:40 +00:00
whatis
whereis
who WARNS=6 2015-11-21 15:01:43 +00:00
whois
write
xargs
xinstall Move __MKTEMP_OK up earlier so it has an actual impact. Reduces the 2016-05-31 06:55:02 +00:00
xlint Add visibility and weak 2016-02-27 21:37:14 +00:00
xstr PR/50953: David Binderman: Fix misplaced paren 2016-03-11 18:39:03 +00:00
yes
ypcat
ypmatch
ypwhich
Makefile Add a program to find the latest timestamp in a cvs repository 2016-01-24 17:08:16 +00:00
Makefile.inc