If I want to place the output of man on a text file file:
man bsarch > bsearch.file
wich extension should I use for file in order that when I open it I have a text without invalid char and a crazy formatation?
Thx in advance
If I want to place the output of man on a text file file:
man bsarch > bsearch.file
wich extension should I use for file in order that when I open it I have a text without invalid char and a crazy formatation?
Thx in advance
for example create a file named desc.txt, and then use
man ls >> desc.txt
also search google for piping
some entropy with that sink? entropysink.com
there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka
The extention doesn't change anything. You could make it nothing or .reallyfreakinlongextention
Won't make a lick of differene.
Or just use an online version of man: http://www.rt.com/man/
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
He probably means he wants to strip all the bold/italic stuff from a man page and be left with just the printable characters.
In which case
Code:man bsearch | groff -Tascii > bsearch.txt
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.