Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > dd069cdccb71831fcc6a905e768088ab > files > 6

netcat-bsd-1.84-3mdv2009.0.src.rpm

--- nc/nc.1.old	2005-11-18 11:23:30.000000000 +0100
+++ nc/nc.1	2007-03-14 10:30:10.000000000 +0100
@@ -25,7 +25,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd June 25, 2001
+.Dd August 22, 2006
 .Dt NC 1
 .Os
 .Sh NAME
@@ -34,7 +34,7 @@
 .Sh SYNOPSIS
 .Nm nc
 .Bk -words
-.Op Fl 46DdhklnrStUuvz
+.Op Fl 46DdhklnrStUuvzC
 .Op Fl i Ar interval
 .Op Fl p Ar source_port
 .Op Fl s Ar source_ip_address
@@ -154,6 +154,8 @@
 .Dq reliability ,
 or an 8-bit hexadecimal value preceded by
 .Dq 0x .
+.It Fl C 
+Send CRLF as line-ending
 .It Fl t
 Causes
 .Nm
@@ -312,7 +314,7 @@
 of requests required by the server.
 As another example, an email may be submitted to an SMTP server using:
 .Bd -literal -offset indent
-$ nc localhost 25 \*(Lt\*(Lt EOF
+$ nc [-C] localhost 25 \*(Lt\*(Lt EOF
 HELO host.example.com
 MAIL FROM: \*(Ltuser@host.example.com\*(Gt
 RCPT TO: \*(Ltuser2@host.example.com\*(Gt