🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #7277

Re: Aplicando colores a bash.

#7277
From: marmolejo
Date: Wed, 12 Mar 2003 11:10
35 lines
2010 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


	Autor:  Juan Ortiz <juan_ortiz@fibertel.com.ar>
	Asunto: Aplicando colores a bash.
	Fecha:  domingo, 09 de marzo de 2003
	Hora:   17:18 
	ID. del mensaje: <slrnb6mtr4.1v3.juan_ortiz@KaOs.net>

>  Como puedo hacer para aplicar colores a texto de scirpts realizados en
>  bash mi intencion es realzar los archivos de rcX.d de mi Debian a mi
>  gusto estuve leyendo el bash-prompt-howto pero no me ha terminado de
>  quedar claro.
>  Se que con la directiva:
>  
>  echo "\[\033[1;34m\color] "

Prueba esto

echo -e "\033[1;34m Hola"


- -- 
NO a la GUERRA
  Debian GNU/Linux Sid               <marmolejo at escomposlinux.org>
PGP Pub Key en pgp.escomposlinux.org ID:0x320A57C2 | Linux User #162799   

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+bxWQal36lDIKV8IRAtg4AJ9q706nzMIjVGbfwIx9wD/A16c36wCaAlA9
QTULob39EjzSmRhjy7VRuOU=
=3cjf
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <slrnb6u5ca.10l.marmolejo@porta.til>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!porta.til!news
References: <slrnb6mtr4.1v3.juan_ortiz@KaOs.net>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,3daa8a1e6a154322
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-03-12 04:31:45 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!ihug.co.nz!west.cox.net!cox.net!news-hub.cableinet.net!blueyonder!marmolejo.escomposlinux.org!porta.til!news
From: marmolejo <marmolejo@escomposlinux.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Aplicando colores a bash.
Date: Wed, 12 Mar 2003 12:10:11 +0100
Organization: Ecolnet
Lines: 35
Message-ID: <slrnb6u5ca.10l.marmolejo@porta.til>
References: <slrnb6mtr4.1v3.juan_ortiz@KaOs.net>
Reply-To: marmolejo@escomposlinux.org
NNTP-Posting-Host: portatil.debian.home
X-Trace: localhost.escomposlinux.org 1047472302 20423 192.168.1.3 (12 Mar 2003 12:31:42 GMT)
X-Complaints-To: newsmaster@marmolejo.escomposlinux.org
NNTP-Posting-Date: Wed, 12 Mar 2003 12:31:42 +0000 (UTC)
User-Agent: Gnus no y no