You can use them but it is pointless.

Brynet wrote:
> I think this was a feature, right? :-)
>
> Index: netcat.c
> ===================================================================
> RCS file: /cvs/src/usr.bin/nc/netcat.c,v
> retrieving revision 1.101
> diff -u -p -u -r1.101 netcat.c
> --- netcat.c  21 Jun 2011 17:31:07 -0000      1.101
> +++ netcat.c  9 Sep 2011 07:01:05 -0000
> @@ -264,6 +264,8 @@ main(int argc, char *argv[])
>               errx(1, "cannot use -p and -l");
>       if (lflag && zflag)
>               errx(1, "cannot use -z and -l");
> +     if (uflag && zflag)
> +             errx(1, "cannot use -u and -z");
>       if (!lflag && kflag)
>               errx(1, "must use -l with -k");
>



# Han

Reply via email to