Hello. I try to save some man pages on my Snow Leopard. I do it the following way:
Then when I try to open it in Terminal like this
it looks fine. But when I try to open it in TextEdit, for instance, the text looks very strange - some characters are doubled like this:
What's the reason?
Code:
man cp > man_cp.txt
Code:
less man_cp.txt
If I try to print it out on a printer it also looks wrong.CP(1) BSD General Commands Manual CP(1)
NNAAMMEE
ccpp -- copy files
SSYYNNOOPPSSIISS
ccpp [--RR [--HH | --LL | --PP]] [--ffii | --nn] [--aappvvXX] _s_o_u_r_c_e___f_i_l_e _t_a_r_g_e_t___f_i_l_e
ccpp [--RR [--HH | --LL | --PP]] [--ffii | --nn] [--aappvvXX] _s_o_u_r_c_e___f_i_l_e _._._.
_t_a_r_g_e_t___d_i_r_e_c_t_o_r_y
DDEESSCCRRIIPPTTIIOONN
In the first synopsis form, the ccpp utility copies the contents of the
_s_o_u_r_c_e___f_i_l_e to the _t_a_r_g_e_t___f_i_l_e. In the second synopsis form, the con-
tents of each named _s_o_u_r_c_e___f_i_l_e is copied to the destination
_t_a_r_g_e_t___d_i_r_e_c_t_o_r_y. The names of the files themselves are not changed. If
ccpp detects an attempt to copy a file to itself, the copy will fail.
What's the reason?