annotate docs/nitros9guide/tee.refentry @ 321:2c0ddf807efa

Made some changes
author boisy
date Tue, 23 Jul 2002 23:43:29 +0000
parents d9631713b7cd
children c565a4700689
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
138
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
1 <refentry id="tee">
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
2 <refnamediv>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
3 <refname>TEE</refname>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
4 <refpurpose>Copy standard input to multiple output paths</refpurpose>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
5 </refnamediv>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
6
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
7 <refsynopsisdiv>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
8 <cmdsynopsis>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
9 <command>TEE</command>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
10 <arg choice="plain">
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
11 &repeatst;&replstart;path&replend;&repeaten;
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
12 </arg>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
13 </cmdsynopsis>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
14 </refsynopsisdiv>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
15
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
16 <refsect1><title>Description</title>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
17
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
18 <para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
19
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
20 TEE
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
21
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
22 Copy standard input to multiple output paths
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
23
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
24 Syntax: Tee {&replstart;path&replend;}
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
25
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
26
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
27
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
28 This command is a filter (see 4.3.3) that copies all text lines from
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
29 its standard input path to the standard output path
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
30 <emphasis>and</emphasis> any number
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
31 of additional output paths whose pathlists are given as parameters.
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
32 </para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
33 <para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
34 The example below uses a pipeline and TEE to simultaneously send the
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
35 output listing of the &quot;dir&quot; command to the terminal, printer, and a
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
36 disk file:
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
37 </para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
38 <screen>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
39 dir e ! tee /printer /d0/dir.listing
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
40 </screen>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
41 <para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
42 The following example sends the output of an assembler listing to a
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
43 disk file and the printer:
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
44 </para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
45 <screen>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
46 asm pgm.src l ! tee pgm.list &gt;/printer
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
47 </screen>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
48 <para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
49 The example below &quot;broadcasts&quot; a message to four terminals:
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
50 </para>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
51 <screen>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
52 echo WARNING System down in 10 minutes ! tee /t1 /t2 /t3 /t4
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
53 </screen>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
54 </refsect1>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
55 </refentry>
d9631713b7cd Split up the commands into individual files.
roug
parents:
diff changeset
56