Hi Laurent,

Laurent Ghigonis wrote on Wed, Jan 20, 2010 at 10:23:14PM +0100:

> the -b option can cause those messages too

Patch applied, thanks for reporting!

Yours,
  Ingo

> Index: usr.bin/cut/cut.c
> ===================================================================
> RCS file: /cvs/src/usr.bin/cut/cut.c,v
> retrieving revision 1.14
> diff -u -r1.14 cut.c
> --- usr.bin/cut/cut.c 27 Oct 2009 23:59:37 -0000      1.14
> +++ usr.bin/cut/cut.c 20 Jan 2010 21:03:48 -0000
> @@ -154,11 +154,11 @@
>                       }
>               }
>               if (*p)
> -                     errx(1, "[-cf] list: illegal list value");
> +                     errx(1, "[-bcf] list: illegal list value");
>               if (!stop || !start)
> -                     errx(1, "[-cf] list: values may not include zero");
> +                     errx(1, "[-bcf] list: values may not include zero");
>               if (stop > _POSIX2_LINE_MAX)
> -                     errx(1, "[-cf] list: %d too large (max %d)",
> +                     errx(1, "[-bcf] list: %d too large (max %d)",
>                           stop, _POSIX2_LINE_MAX);
>               if (maxval < stop)
>                       maxval = stop;

Reply via email to