about summary refs log tree commit diff
path: root/Doc/Zsh/tcpsys.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-08-08 11:27:39 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-08-08 11:27:39 +0000
commit901e6c7387bd0145ce26356eda1573d20293a57a (patch)
treec0fdf9d6a1448a9dc592a0c4f08ba63345ee33c5 /Doc/Zsh/tcpsys.yo
parent98e306e251aca4937ca9947c33d686abbc638561 (diff)
downloadzsh-901e6c7387bd0145ce26356eda1573d20293a57a.tar.gz
zsh-901e6c7387bd0145ce26356eda1573d20293a57a.tar.xz
zsh-901e6c7387bd0145ce26356eda1573d20293a57a.zip
22592: add tcp_send -c option for cat
Diffstat (limited to 'Doc/Zsh/tcpsys.yo')
-rw-r--r--Doc/Zsh/tcpsys.yo9
1 files changed, 7 insertions, 2 deletions
diff --git a/Doc/Zsh/tcpsys.yo b/Doc/Zsh/tcpsys.yo
index f8f65b634..f1586b602 100644
--- a/Doc/Zsh/tcpsys.yo
+++ b/Doc/Zsh/tcpsys.yo
@@ -185,13 +185,18 @@ non-zero return status indicates some error condition.
 See tt(tcp_log) for how to control where data is sent by tt(tcp_read).
 )
 findex(tcp_send)
-xitem(tt(tcp_send [-nq] [ -s) var(sess) tt(| -l) var(sess)tt(,... ]) var(data) tt(...))
-item(tt(tcp_send [-nq] -a) var(data) tt(...))(
+xitem(tt(tcp_send [-cnq] [ -s) var(sess) tt(| -l) var(sess)tt(,... ]) var(data) tt(...))
+item(tt(tcp_send [-cnq] -a) var(data) tt(...))(
 Send the supplied data strings to all the specified sessions in turn.  The
 underlying operation differs little from a `tt(print -r)' to the session's
 file descriptor, although it attempts to prevent the shell from dying owing
 to a tt(SIGPIPE) caused by an attempt to write to a defunct session.
 
+The option tt(-c) causes tt(tcp_send) to behave like tt(cat).  It reads
+lines from standard input until end of input and sends them in turn to the
+specified session+LPAR()s+RPAR() exactly as if they were given as var(data)
+arguments to individual tt(tcp_send) commands.
+
 The option tt(-n) prevents tt(tcp_send) from putting a newline at the end
 of the data strings.