summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarolin Seeger <ks@samba.org>2008-01-08 10:30:33 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:47:41 -0500
commit23f405a42e6a9a574f9bca941865c401a5a44074 (patch)
tree7cf167916bc8572a0378ccc8bd3268ef846f8c3b
parent6ecf4cd4bd9f1ce40e59cb98e7a6dbcea7ef225e (diff)
downloadsamba-23f405a42e6a9a574f9bca941865c401a5a44074.tar.gz
samba-23f405a42e6a9a574f9bca941865c401a5a44074.tar.bz2
samba-23f405a42e6a9a574f9bca941865c401a5a44074.zip
Avoid useless use of 'cat'. Fix bug #4704. Thanks Christian Perrier <bubulle@debian.org> for reporting!
Karolin (This used to be commit 22d3492b76a96828650cf5e8e3ac8abe68634abf)
-rw-r--r--docs/manpages-3/smbclient.1.xml9
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/manpages-3/smbclient.1.xml b/docs/manpages-3/smbclient.1.xml
index a3be09fe26..02abeca3dc 100644
--- a/docs/manpages-3/smbclient.1.xml
+++ b/docs/manpages-3/smbclient.1.xml
@@ -212,11 +212,10 @@
</para>
<para>
- One useful trick is to cat the message through <command>smbclient</command>. For example:
-<programlisting>
-<command>cat mymessage.txt | smbclient -M FRED </command>
-</programlisting>
- will send the message in the file <filename>mymessage.txt</filename> to the machine FRED.
+ One useful trick is to pipe the message through <command>smbclient</command>.
+ For example: smbclient -M FRED &lt; mymessage.txt will send the
+ message in the file <filename>mymessage.txt</filename> to the
+ machine FRED.
</para>
<para>You may also find the <parameter>-U</parameter> and