Aravind,
I presume, you want to save your man pages for future reference or for printing purpose.What I would suggest is to try the following command:
# man ls | col -b > filename
where,
ls - is the command whose man pages are required.
filename - is the name of the file to be saved.
I'm sure this will solve your problem.
Minaz
Quote:
Originally posted by aravind_mg
Hi,
When I do a man and save it into a file, I end up getting a lot of control characters. How can I remove them??
I tried this:
/1,$ s/^H//g
But I get an error saying "no previous regular expression".
Can someone help me with this.
Thanks,
Aravind
|