

            cto (1) --- copy STDIN to STDOUT up to a sentinel        03/20/80


            _U_s_a_g_e

                 cto [ <string> ]


            _D_e_s_c_r_i_p_t_i_o_n

                 'Cto'  copies its first standard input to its first standard
                 output, terminating either at  end  of  file  or  the  first
                 occurrence of <string>.  In order to be recognized, <string>
                 must  appear  on a line by itself.  This termination line is
                 not copied.  If no argument is specified, <string>  defaults
                 to "-EOF".

                 'Cto' is useful in shell files for terminating programs that
                 read  from  the command stream.  It is virtually a necessity
                 for generating end-of-file on terminals that cannot generate
                 a control-c character.


            _E_x_a_m_p_l_e_s

                 >> cto | x
                 paron file1 file2
                 delete file1
                 -EOF


            _S_e_e _A_l_s_o

                 cat (1), copy (1), slice (1)



























            cto (1)                       - 1 -                       cto (1)


