diff --git a/usr.bin/cut/cut.c b/usr.bin/cut/cut.c index eeeb17e57116..9d7cb50675b7 100644 --- a/usr.bin/cut/cut.c +++ b/usr.bin/cut/cut.c @@ -161,10 +161,8 @@ get_list(char *list) /* * set a byte in the positions array to indicate if a field or * column is to be selected; use +1, it's 1-based, not 0-based. - * This parser is less restrictive than the Draft 9 POSIX spec. - * POSIX doesn't allow lists that aren't in increasing order or - * overlapping lists. We also handle "-3-5" although there's no - * real reason too. + * Numbers and number ranges may be overlapping, repeated, and in + * any order. We handle "-3-5" although there's no real reason too. */ for (; (p = strsep(&list, ", \t")) != NULL;) { setautostart = start = stop = 0;