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: "William L. Thomson Jr." <wltjr@g.o>
Subject: Re: Re: Default blank lines for error, elog, einfo, etc
Date: Fri, 06 Jun 2008 19:31:15 -0400
On Sat, 2008-06-07 at 00:42 +0200, Vlastimil Babka wrote:
> 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,

Well I mostly included echo as a joke/pun per one of the other
comments :)

> So how bout some switch to elog 
> commands that adds extra newline after the message, might look better 
> than wltjr's "" proposal.

Crude I agree, but at least point for shorthand was understood :)

>  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"?

Or -p for preceding -t for trailing. Which would make one liner

elog -pt "One line with blank ones before and after"

-- 
William L. Thomson Jr.
amd64/Java/Trustees
Gentoo Foundation

Attachment:
signature.asc (This is a digitally signed message part)
Replies:
Re: Re: Default blank lines for error, elog, einfo, etc
-- Joe Peterson
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
Re: Re: Default blank lines for error, elog, einfo, etc
-- Vlastimil Babka
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: [GLEP56] USE flag descriptions in metadata


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.