diff options
author | 2015-03-31 12:16:02 +0000 | |
---|---|---|
committer | 2015-03-31 12:16:02 +0000 | |
commit | d954f35120a7fd0b5f443e96672cf67401852b15 (patch) | |
tree | c8e17d264f6e7aa0c6cf6c9fb27de812e0ce4dc3 | |
parent | POSIX says "sort -c" produces output on disorder but "sort -C" does not. (diff) | |
download | wireguard-openbsd-d954f35120a7fd0b5f443e96672cf67401852b15.tar.xz wireguard-openbsd-d954f35120a7fd0b5f443e96672cf67401852b15.zip |
There's no good reason to make -m and -c mutually exclusive.
Other sorts don't care and our regress uses this.
-rw-r--r-- | usr.bin/sort/sort.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/sort/sort.c b/usr.bin/sort/sort.c index 9a330d5ada8..0c5c1a3e8db 100644 --- a/usr.bin/sort/sort.c +++ b/usr.bin/sort/sort.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sort.c,v 1.51 2015/03/31 11:46:26 millert Exp $ */ +/* $OpenBSD: sort.c,v 1.52 2015/03/31 12:16:02 millert Exp $ */ /*- * Copyright (C) 2009 Gabor Kovesdan <gabor@FreeBSD.org> @@ -1045,9 +1045,6 @@ main(int argc, char *argv[]) argc -= optind; argv += optind; - if (sort_opts_vals.cflag && sort_opts_vals.mflag) - errx(1, "%c:%c: mutually exclusive flags", 'm', 'c'); - if (keys_num == 0) { keys_num = 1; keys = sort_realloc(keys, sizeof(struct key_specs)); |