Thread: ">" command on linux [help please]

  1. #1
    Registered User
    Join Date
    Jun 2004

    Question ">" command on linux [help please]

    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

  2. #2
    Registered User axon's Avatar
    Join Date
    Feb 2003
    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?

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

  3. #3
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    The extention doesn't change anything. You could make it nothing or .reallyfreakinlongextention

    Won't make a lick of differene.

  4. #4
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Or just use an online version of man:
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    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
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Thinking of upgrading to linux...
    By Yarin in forum General Discussions
    Replies: 37
    Last Post: 07-24-2009, 11:40 AM
  2. Wireless Network Linux & C Testbed
    By james457 in forum Networking/Device Communication
    Replies: 3
    Last Post: 06-11-2009, 11:03 AM
  3. Dabbling with Linux.
    By Hunter2 in forum Tech Board
    Replies: 21
    Last Post: 04-21-2005, 04:17 PM
  4. installing linux for the first time
    By Micko in forum Tech Board
    Replies: 9
    Last Post: 12-06-2004, 05:15 AM