[net.unix-wizards] System III sort bug

gwyn@Brl@sri-unix (09/11/82)

From:     Doug Gwyn <gwyn@Brl>
Date:     9 Sep 82 1:14:05-EDT (Thu)
The UNIX System III "sort" program does not handle the -b flag correctly.
In function skip(), the line
	if(tabchar==0&&fp->bflg[j])
should be changed to read
	if(tabchar==0||fp->bflg[j])

One more counter-example to taking the distributed code as the "standard",
as suggested at the last USENIX conference.

I suspect that this bug lurks in other flavors of UNIX also.