diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/uniq.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/uniq.c b/src/uniq.c index a02647091..8d17dfd15 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -510,7 +510,7 @@ main (int argc, char **argv) delimit_method_map); break; - case 'f': /* Like '-#'. */ + case 'f': skip_field_option_type = SFO_NEW; skip_fields = size_opt (optarg, N_("invalid number of fields to skip")); @@ -520,7 +520,7 @@ main (int argc, char **argv) ignore_case = true; break; - case 's': /* Like '+#'. */ + case 's': skip_chars = size_opt (optarg, N_("invalid number of bytes to skip")); break; @@ -543,13 +543,6 @@ main (int argc, char **argv) } } - if (skip_field_option_type == SFO_OBSOLETE && 200112 <= posix2_version ()) - { - error (0, 0, _("`-%lu' option is obsolete; use `-f %lu'"), - (unsigned long int) skip_fields, (unsigned long int) skip_fields); - usage (EXIT_FAILURE); - } - if (countmode == count_occurrences && output_later_repeated) { error (0, 0, |