Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use the clipboard in the terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use the clipboard in the terminal
Authored by: vramin on Apr 06, '04 03:18:28AM

man pages are contain a lot of information for formatting so the command

man man | pbcopy

will result in a lot of garbage on the clipboard. Commands that have plain text results work fine.

Yo get man mages to the clipboard you could use something like:

man TheManpageYouWant | groff -t -e -mandoc -Tascii | col -bx | pbcopy



[ Reply to This | # ]