Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 100875

Summary: broken integrated cowsay in emerge (emerge moo), (fixed)
Product: Gentoo Linux Reporter: Aurel Wildfellner <aurel.w>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Aurel Wildfellner 2005-07-31 03:17:46 UTC
The integrated cowsay in the python emerge script is broken (emerge moo). See
the screenshot. I get the same result in gnomes terminal, xterm, konsole and in
a tty. My current Portage version is
How to fix: The problem is in the emerge python script
(/usr/lib/portabe/bin/emerge) at line 301. The last character in this line is a
single '\'. This should be replaced with a "\\", because in a python """..."""
string a single '\' as last character in one line produces problems, like that
it is interpreted as an <tab> instead of a newline.

How it is:
< Have you mooed today? >
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

How it should be:

< Have you mooed today? >
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\\
                ||----w |
                ||     ||

Works perfect for me, and when typing "emerge moo" the tail looks like this: ")\/\"

Reproducible: Always
Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-31 07:23:32 UTC

*** This bug has been marked as a duplicate of 100001 ***