Results 1 to 7 of 7

Thread: dog: enhanced replacement for cat

  1. #1
    Join Date
    Aug 2010
    Location
    Baltimore, MD
    Beans
    25
    Distro
    Ubuntu 12.10 Quantal Quetzal

    dog: enhanced replacement for cat

    I recently learned about the dog command, but I can't find it anywhere.

    Could someone help me find it?

    Thanks.

  2. #2
    Join Date
    Feb 2013
    Beans
    801
    Distro
    Ubuntu

    Re: dog: enhanced replacement for cat

    try this site

  3. #3
    Join Date
    Aug 2010
    Location
    Baltimore, MD
    Beans
    25
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: dog: enhanced replacement for cat

    Thanks. The command is working well for me now, but I don't know how to install the man page.

    Code:
    sgy@computer:~$ man dog
    No manual entry for dog
    See 'man 7 undocumented' for help when manual pages are not available.
    I would love to have that working properly.

  4. #4
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: dog: enhanced replacement for cat

    The only dog package available in the Ubuntu repositories is for Hardy (8.04), you can download and install it manually, and then:

    Code:
    man dog
    works correctly.

  5. #5
    Join Date
    Aug 2010
    Location
    Baltimore, MD
    Beans
    25
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: dog: enhanced replacement for cat

    I can get man dog to work when I install the binary with the Software Center, as was suggested.

    In my case, however, I need to build the package from source. I have done this, and the dog command is working, but I still don't know enough to get the man page working as well.

    Also, I don't have root privelages on the system. So, I can only install to my home directory.

    Thanks.

  6. #6
    Join Date
    Aug 2010
    Location
    Baltimore, MD
    Beans
    25
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: dog: enhanced replacement for cat

    To install the man page manually to a home directory first download dog.1.gz from the following site.

    http://manpages.ubuntu.com/manpages/...an1/dog.1.html

    Make a few directories in your home directory so that you have ~/local/man/man1/, and move dog.1.gz there.

    Now, just add ~/local/man to MANPATH by putting this line in .bashrc.

    Code:
    export MANPATH="$HOME/local/man/":$MANPATH
    Now man dog will work properly.
    System76 Wild Dog Performance - Ubuntu Quantal - 64 bit
    Intel Core i7-2600, 3.40 GHz - 16 GB DDR3 RAM
    NVIDIA GeForce GT430, 1GB DDR3
    Intel SSD 510 Series, 120 GB SATA III

  7. #7
    prodigy_ is offline May the Ubuntu Be With You!
    Join Date
    Mar 2008
    Beans
    1,219

    Re: dog: enhanced replacement for cat

    Enhanced, eh? Well... matter of taste, I guess. I wouldn't replace my old trusty cat with a weird command that partially emulates tr and wget ... | grep.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •