Linux & Humor

I came across this old one, adjusted for openSUSE:

Ever got bored of posting output in the forums, having to use “cat /this/and/that” all over again and again, wondering why it had to be “cat”? Doesn’t have to be like that, take a look here:


Knurpht:~ # dog /etc/SuSE-release 
If 'dog' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf dog

does not work, looks like it’s not there, let’s try the bin folders


Knurpht:~ # locate dog | grep bin
Knurpht:~ # 

now the magic:


Knurpht:~ # zypper install dog
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  dog 

1 new package to install.
Overall download size: 23.0 KiB. After the operation, additional 48.0 KiB will be used.
Continue? [y/n/?] (y): y
Retrieving package dog-1.7-188.1.x86_64 (1/1), 23.0 KiB (48.0 KiB unpacked)
Retrieving: dog-1.7-188.1.x86_64.rpm [done]
Installing: dog-1.7-188.1 [done]

So the dog-package is installed now, let’s see if it works


Knurpht:~ # dog /etc/SuSE-release 
openSUSE 11.4 (x86_64)
VERSION = 11.4
CODENAME = Celadon

And what does the man-page say?


Knurpht:~ # man dog


DOG(1)                                                 User Manuals                                 DOG(1)



NAME
       dog - better than cat

On 06/06/2011 10:06 PM, Knurpht wrote:
>
> Knurpht:~ # zypper install dog
> Loading repository data…

as far as i can tell, there is no dog in oss, non-oss, update or
packman… :slight_smile:

so, maybe cat is better for the cautious and stable seeker :wink:


dd CAVEAT: http://is.gd/bpoMD
via NNTP openSUSE 11.4 [2.6.37.6-0.5] + KDE 4.6.0 + Thunderbird 3.1.10
Acer Aspire One D255, 1.66 GHz Atom, 1 GB RAM, Intel Pineview graphics

  • When your gecko is broken you have a reptile dysfunction! *

Of course not, I should have checked that. Cat comes from OSS, Dog comes from Contrib. You could have guessed it’s no good to keep both cat and dog in the same repo :smiley:

On 06/07/2011 11:06 AM, Knurpht wrote:
>
> it’s no good to keep both cat and dog in the same repo :smiley:

heh!


dd CAVEAT: http://is.gd/bpoMD
via NNTP openSUSE 11.4 [2.6.37.6-0.5] + KDE 4.6.0 + Thunderbird 3.1.10
Acer Aspire One D255, 1.66 GHz Atom, 1 GB RAM, Intel Pineview graphics

  • When your gecko is broken you have a reptile dysfunction! *