7137597e15
Observe: printf "a\nb\nc\n" > /tmp/foo # Next command results in no output cat /tmp/foo | sort -m # Next command results in proper output cat /tmp/foo | sort -m - # Also works: sort -m /tmp/foo Some const'ification was done to simplify the actual solution of adding "-" explicitly to the file list if we didn't have any file arguments left over. PR: 190099 MFC after: 1 week |
||
---|---|---|
.. | ||
nls | ||
tests | ||
bwstring.c | ||
bwstring.h | ||
coll.c | ||
coll.h | ||
file.c | ||
file.h | ||
Makefile | ||
Makefile.depend | ||
mem.c | ||
mem.h | ||
radixsort.c | ||
radixsort.h | ||
sort.1.in | ||
sort.c | ||
sort.h | ||
vsort.c | ||
vsort.h |