Re: how to use ">"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



wanjianming wrote:

I want to save the man information of "tar" .so I used the command " man tar >tar.txt"
but when I opened the file using "vi tar.txt"
it can't be read anymore .it looks as following :
TAR(1) TAR(1)
N^HNA^HAM^HME^HE
tar - The GNU version of the tar archiving utility

man tar | col -b > tar.txt


It used to be the case that this was a lot quicker than re-formatting the page every time, but it's not even worth caching the text form of man pages on my old P133.

You might also find "man -t tar" useful -- that produces a postscript version of the man page which looks nice when you print it (usually :-)).

jch


-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux