Instalación del programa figlet

Este programa permite crear caracteres grandes apartir de caracteres ASCIIs convencionales

figlet-templates

Para instalarlo:

[root@humus templates]# yum install figlet
Loading "protectbase" plugin
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
FastestMirror suppressed (Proxy detected ) for  : dag
FastestMirror suppressed (Proxy detected ) for  : kbs-CentOS-Misc
FastestMirror suppressed (Proxy detected ) for  : update
FastestMirror suppressed (Proxy detected ) for  : base
FastestMirror suppressed (Proxy detected ) for  : extras
Reading repository metadata in from local files
86 packages excluded due to repository protections
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for figlet to pack into transaction set.
figlet-2.2.1-1.2.el4.rf.i 100% |=========================| 9.0 kB    00:00
---> Package figlet.i386 0:2.2.1-1.2.el4.rf set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
figlet                  i386       2.2.1-1.2.el4.rf  dag               131 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 131 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): figlet-2.2.1-1.2.e 100% |=========================| 131 kB    00:55
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: figlet                       ######################### [1/1]

Installed: figlet.i386 0:2.2.1-1.2.el4.rf
Complete!

El script que utilice para la muestra de los diferentes tipos de letras es:

#!/bin/bash

for i in `ls /usr/share/figlet/*.flf | sort`
do
echo "figlet -f `basename $i | sed -r 's/.flf$//'` $1"
figlet -f `basename $i | sed -r 's/.flf$//'` $1
done

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: