

            rdprint (1) --- print a relation or relation descriptor  08/03/81


            _U_s_a_g_e

                 rdprint { -d | -r }


            _D_e_s_c_r_i_p_t_i_o_n

                 'Rdprint' is part of the toy relational data base management
                 system  'rdb'.   It  displays  a  relation in readable form.
                 Standard input 1 must be directed to a  file  containing  an
                 'rdb'  relation.  The input relation must be a file contain-
                 ing relation that was created by  'rdmake'  or  other  'rdb'
                 programs; a relation cannot be read from the terminal.

                 Printable  output  is produced on standard output.  The "-d"
                 option indicates that only the relation description is to be
                 displayed; the "-r" option indicates that only the  relation
                 data  is  to  be  displayed.   If  both  or neither of these
                 options are present,  both  the  description  and  data  are
                 displayed.


            _E_x_a_m_p_l_e_s

                 p.rel> rdprint -d
                 p.rel> rdproj pname pno | rdsort | rduniq | rdprint -r


            _M_e_s_s_a_g_e_s

                 "Usage:  rdprint (-d | -r)"
                 "Sorry, a relation can't be read from the terminal"
                 "Can't access input relation"
                 "relation is corrupted!!"


            _B_u_g_s

                 Relations  more  than  80  columns wide display badly on the
                 terminal.


            _S_e_e _A_l_s_o

                 rdcat (1), rdextr (1), rdjoin (1), rdmake (1), rdprint  (1),
                 rdproj (1), rdsel (1), rdsort (1), rduniq (1)












            rdprint (1)                   - 1 -                   rdprint (1)


