http://qa.mandrakesoft.com/show_bug.cgi?id=4529


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From [EMAIL PROTECTED]  2003-08-08 06:18 -------
This always bugged me too.  I added the patch to provide -q and a variety of
other options.  Fixed in 17mdk

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: RESOLVED
creation_date: 
description: 
The man page for the nc (netcat) programme lists an option -q. -q however 
*doesnt work* with the version of nc shipped by MDK. 

The man page for nc has been taken straight from the debian nc package. The 
debian version of the nc binary supports the -q option, however the binary 
shipped by MDK *doesnt* support -q. But -q is listed in the manpage supplied by 
MDK. 

Is it possible to remove the -q entry from the manpage shipped with the MDK 
version of nc?

[EMAIL PROTECTED] cooker]$ cat sendme | nc 192.168.100.1 1234 -vv -q0
nc: invalid option -- q
nc -h for help
[EMAIL PROTECTED] cooker]$ nc -h
[v1.10]
connect to somewhere:   nc [-options] hostname port[s] [ports] ...
listen for inbound:     nc -l -p port [-options] [hostname] [port]
options:
        -g gateway              source-routing hop point[s], up to 8
        -G num                  source-routing pointer: 4, 8, 12, ...
        -h                      this cruft
        -i secs                 delay interval for lines sent, ports scanned
        -l                      listen mode, for inbound connects
        -n                      numeric-only IP addresses, no DNS
        -o file                 hex dump of traffic
        -p port                 local port number
        -r                      randomize local and remote ports
        -s addr                 local source address
        -u                      UDP mode
        -v                      verbose [use twice to be more verbose]
        -w secs                 timeout for connects and final net reads
        -z                      zero-I/O mode [used for scanning]
port numbers can be individual or ranges: lo-hi [inclusive]
[EMAIL PROTECTED] cooker]$

Reply via email to