Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Vlastimil Babka <caster@g.o>
Subject: Re: Re: Default blank lines for error, elog, einfo, etc
Date: Sat, 07 Jun 2008 00:42:29 +0200
Joe Peterson wrote:
> The problem with a simple echo is that no "*" appears on the left to
> maintain continuity with the rest of the output - and in a color that
> makes sense in the context (maybe this isn't a "problem" - it depends on
> whether that visual continuity is desired).

The far biggest problem of echo is IMHO that it's not part of the elog 
framework, which means you will see only it if you are watching the 
thing build. But it won't be processed by anything else set in 
PORTAGE_ELOG_SYSTEM, for example the "echo" system which reprints all 
gathered elog stuff from all built packages when emerge finishes, and 
which I find very useful. Absence of newlines there makes that however 
often hardly readable.

Using elog commands instead of plain echo helps this, but as you 
mentioned, could be done better. So I'm also for some *unified* way to 
specify separators in elog commands. I would prefer something that 
doesn't add extra lines to ebuild. So how bout some switch to elog 
commands that adds extra newline after the message, might look better 
than wltjr's "" proposal. There could be also switch to add newline 
before the message but I can't think of a use for it myself.
The question is how to name the switch :) "-n" could be confusing as 
"echo -n" has the opposite effect. Maybe "-b" for "blank"?

-- 
Vlastimil Babka (Caster)
Gentoo/Java

Attachment:
signature.asc (OpenPGP digital signature)
Replies:
Re: Re: Default blank lines for error, elog, einfo, etc
-- Jim Ramsay
Re: Re: Default blank lines for error, elog, einfo, etc
-- William L. Thomson Jr.
References:
Default blank lines for error, elog, einfo, etc
-- William L. Thomson Jr.
Re: Default blank lines for error, elog, einfo, etc
-- Joe Peterson
Re: Default blank lines for error, elog, einfo, etc
-- Ryan Hill
Re: Re: Default blank lines for error, elog, einfo, etc
-- William L. Thomson Jr.
Re: Re: Default blank lines for error, elog, einfo, etc
-- William L. Thomson Jr.
Re: Re: Default blank lines for error, elog, einfo, etc
-- Joe Peterson
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: Default blank lines for error, elog, einfo, etc
Next by thread:
Re: Re: Default blank lines for error, elog, einfo, etc
Previous by date:
Re: OT Foundation <-> Council was -> Nominations for council
Next by date:
Re: OT Foundation <-> Council was -> Nominations for council


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.