1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/usr.bin
Andrey A. Chernov d4c2dafa6c 1) Rewrite input processing to not exit with error on the first EILSEQ found
in the input data but fallback to "binary equal" check instead.

POSIX says: "The input file shall be a text file", nothing more,
so the text file with illegal sequence is valid input.
BTW, GNU sort does not fails on EILSEQ too.

2) Speedup input processing a bit in complex cases like skipping fields,
chars or ignore case.

3) Enforce the implied LINE_MAX limit (from POSIX definition of "text file"
and POSIX uniq(1) description).
2010-03-06 19:21:57 +00:00
..
alias
apply - Use errx(3) instead of err(3) when checking if snprintf(3) succeeded. 2010-03-05 15:23:01 +00:00
ar Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
asa
at Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
atm Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
awk Apply patches directly to sources. Their effect is as follows: 2010-01-10 08:02:07 +00:00
banner ANSIfy various tools in usr.bin/. 2010-01-02 10:09:20 +00:00
basename
bc Fix a bug in previous revision. 2010-02-05 18:17:17 +00:00
biff ANSIfy various tools in usr.bin/. 2010-01-02 10:09:20 +00:00
bluetooth Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
brandelf Use the newly brought %U macro. 2010-01-15 16:01:22 +00:00
bsdiff Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
bzip2 Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
bzip2recover
c89 Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
c99
calendar Add my birthday. 2010-01-29 14:41:16 +00:00
cap_mkdb
catman Modernize scandir(3) and alphasort(3) interfaces according to the IEEE 2010-01-04 15:40:17 +00:00
chat
checknr
chkey Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
chpass Let the afterinstall target ignore failures from running chflags. This 2010-03-04 12:35:20 +00:00
cksum Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
cmp Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
col
colcrt Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
colldef Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
colrm Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
column
comm - Prevent overflowing of the buffer length variable in getline() by 2009-12-16 14:34:48 +00:00
compile_et Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
compress Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
cpio Fixed dependencies (make checkdpadd). 2010-02-25 20:24:19 +00:00
cpuset Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
csplit
csup - Fix spelling. 2010-03-03 21:22:53 +00:00
ctags This now passes a make universe with WARNS=6. 2010-01-08 11:16:58 +00:00
cut
dc - style(9) 2010-02-03 21:06:13 +00:00
dig Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
dirname
du Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ee - pt_BR.ISO8859-1 catalog 2010-02-09 10:47:44 +00:00
elf2aout Make manpage's SYNOPSIS match program's usage(). 2010-02-12 15:07:24 +00:00
elfdump Use the newly brought %U macro. 2010-01-15 16:01:22 +00:00
enigma
env Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
expand Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
false
fetch Fixed static linkage. 2010-02-26 09:41:16 +00:00
file
file2c Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
find The -newerXB option was being interpreted the same as the -newerXm option 2010-02-14 12:08:44 +00:00
finger Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
fmt Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
fold Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
from
fstat Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
fsync Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ftp Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
gcore Fixed dependencies (make checkdpadd). 2010-02-25 20:24:19 +00:00
gencat The NetBSD Foundation has granted permission to remove clause 3 and 4 2010-02-16 21:43:57 +00:00
getconf
getent The NetBSD Foundation has granted permission to remove clause 3 and 4 2010-02-16 21:43:57 +00:00
getopt Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
gprof Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
gzip Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
head Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
hesinfo
hexdump The correct value of DEL is 0x7f, not 0xff. This is purely a documentation 2010-02-18 19:06:30 +00:00
host Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
id Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
indent
ipcrm Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ipcs Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
join
jot Add a reference to newly added seq(1) command. 2010-02-20 00:16:44 +00:00
kdump The kdump data stream is an unaligned data stream for stat and 2010-02-18 16:05:09 +00:00
keylogin Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
keylogout
killall Fix grammar and reduce ambiguity. 2009-12-26 00:46:05 +00:00
ktrace Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ktrdump Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
lam ANSIfy various tools in usr.bin/. 2010-01-02 10:09:20 +00:00
last Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
lastcomm Let lastcomm(1) build without <utmp.h>. 2010-01-10 21:59:06 +00:00
ldd Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
leave Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
less Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
lessecho
lesskey
lex Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
limits Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
locale Always assign WARNS using ?= 2010-03-02 16:58:04 +00:00
locate Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
lock Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
lockf
logger Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
login Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
logins Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
logname Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
look Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
lorder
lsvfs Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
m4 Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
mail Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
make Eliminated nits from last commit. 2010-01-27 21:06:53 +00:00
makewhatis Modernize scandir(3) and alphasort(3) interfaces according to the IEEE 2010-01-04 15:40:17 +00:00
mesg Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
minigzip Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ministat
mkdep
mkfifo Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
mklocale Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
mkstr Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
mktemp Use prototype for usage(). 2009-12-13 03:18:37 +00:00
mkuzip Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
msgs Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
mt
nc Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ncal Remove no-op of WARNS?= 2010-03-04 12:18:24 +00:00
ncplist Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
ncplogin
netstat Prefer vocabulary of 'Current' and 'Limit' to 'Value' and 'Maximum' in 2010-03-01 12:11:37 +00:00
newgrp Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
newkey Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
nfsstat Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
nice
nl The NetBSD Foundation has granted permission to remove clause 3 and 4 2010-02-16 21:43:57 +00:00
nohup Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
nslookup Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
nsupdate Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
objformat
opieinfo Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
opiekey Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
opiepasswd Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
pagesize
passwd Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
paste Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
pathchk
perror The output of perror(1) is now showing local messages for locales 2009-11-22 05:17:22 +00:00
pr Make pr build with WARNS=6. 2010-02-26 13:48:04 +00:00
printenv
printf Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
procstat Document one more file descriptor type and two more vnode types. 2010-02-06 11:29:06 +00:00
quota
renice ANSIfy various tools in usr.bin/. 2010-01-02 10:09:20 +00:00
rev Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
revoke Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rlogin Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rpcgen Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rpcinfo Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rs
rsh Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rup Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ruptime Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rusers Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
rwall Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
rwho Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
script Remove a warning by adding extra parentheses. 2010-01-02 10:13:21 +00:00
sed Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
seq Treat numbers after [Ee] a positive number rather than an invalid 2010-02-20 01:23:15 +00:00
setchannel
shar
showmount ANSIfy various tools in usr.bin/. 2010-01-02 10:09:20 +00:00
smbutil Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
sockstat Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
split
stat The NetBSD Foundation has granted permission to remove clause 3 and 4 2010-02-16 21:43:57 +00:00
su Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
systat Fixed dependencies (make checkdpadd). 2010-02-25 20:24:19 +00:00
tabs
tail Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
talk Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
tar Fixed dependencies (make checkdpadd). 2010-02-25 20:24:19 +00:00
tcopy 1) Mark usage as dead2. 2010-01-05 21:09:59 +00:00
tee Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
telnet Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
tftp Fix return code in the case of successful file transfer, broken in 2010-01-03 13:48:58 +00:00
time Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
tip
top Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
touch - If lstat()/stat() fails with an error other than ENOENT, don't ignore 2009-10-16 20:52:45 +00:00
tput Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
tr Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
true
truncate Use expand_number(3) from libutil instead of home-grown function to parse 2010-03-03 19:25:28 +00:00
truss This fix makes it so the args are malloc'd before 2010-02-03 13:03:47 +00:00
tset Remove unnecessary termcap.h includes inherited from extern.h and other 2009-12-11 23:30:22 +00:00
tsort Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
tty
ul Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
uname Add new -o option (r203042) to manpage synopsis and usage(). 2010-02-10 00:18:15 +00:00
unexpand Revert most part of 200420 as requested, as more review and polish is 2009-12-13 03:14:06 +00:00
unifdef Update to upstream version 1.338 2010-02-19 16:54:51 +00:00
uniq 1) Rewrite input processing to not exit with error on the first EILSEQ found 2010-03-06 19:21:57 +00:00
units
unvis
unzip Fixed static linkage. 2010-02-26 09:41:16 +00:00
usbhidaction The NetBSD Foundation has granted permission to remove clause 3 and 4 2010-02-16 21:43:57 +00:00
usbhidctl The NetBSD Foundation has granted permission to remove clause 3 and 4 2010-02-16 21:43:57 +00:00
users Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
uudecode Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
uuencode Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
vacation Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
vgrind Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
vi Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
vis Use ANSI prototype for foldit(). 2009-12-13 04:14:55 +00:00
vmstat Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
w Initialize the execfile argument to NULL instead of _PATH_DEVNULL. This allows the -M option to be used without specifying -N. 2010-02-08 21:23:48 +00:00
wall Perform all trivial ports to utmpx for usr.bin/. 2010-01-13 18:09:54 +00:00
wc Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
what
whereis Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
which
who Remove stale references to utmp(5) and its corresponding filenames. 2010-01-21 17:25:12 +00:00
whois Make whois capable of searching for IPv6 addresses just like it can 2010-01-14 10:56:54 +00:00
write Perform all trivial ports to utmpx for usr.bin/. 2010-01-13 18:09:54 +00:00
wtmpcvt Fix a typo: accouting -> accounting. 2010-01-14 22:21:20 +00:00
xargs Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
xinstall Fix common misspelling of hierarchy 2010-02-20 10:19:19 +00:00
xlint The NetBSD Foundation has granted permission to remove clause 3 and 4 2010-02-16 21:43:57 +00:00
xstr
yacc Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
yes
ypcat Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ypmatch Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
ypwhich Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00
Makefile Add seq(1), a small utility to generate sequence number. 2010-02-19 23:54:12 +00:00
Makefile.inc Build usr.bin/ with WARNS=6 by default. 2010-01-02 10:27:05 +00:00