common (1) --- print lines common to two sorted files 03/20/80 _U_s_a_g_e common [ -{1 | 2 | 3} ] [ [ ] ] _D_e_s_c_r_i_p_t_i_o_n 'Common' prints the lines common to two sorted files. It normally produces three columns of output: Column one contains lines present in but not present in ; column two contains lines present in but not in ; and column three contains lines common to both files. The first argument may be used to select the columns to be printed. A dash followed by a "1" selects the first column, a dash followed by "12" selects columns one and two, etc. For example, to print lines in the second file or in both files (i.e. columns two and three), the argument should be "-23". If the second file name argument is omitted, the first stan- dard input is used for ; if no name arguments appear, the first and second standard inputs will be used for and respectively. _E_x_a_m_p_l_e_s lf -c =bin= | sort >file1; lf -c =doc=/fman/s1 | sort >file2; common -1 file1 file2 common -1 wordlist =dictionary= _M_e_s_s_a_g_e_s "Usage: common ..." for illegal arguments. _S_e_e _A_l_s_o diff (1), sort (1), lf (1) common (1) - 1 - common (1)