Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from rec.arts.ascii, 22 Oct 1994.
Info: Script to show all Figlet fonts

Info: Script to show all Figlet fonts

mpu...@central.sussex.ac.uk (Chris) writes:


>Bob Allison (bob...@wwa.com) wrote:


>:    Interesting, I'll have to put that in the longer FAQs.

>Another idea, also related to another article

>On unix a useful ksh script produces an example file for all fonts in
>the current directory

>-----cut here-----
>#! /bin/ksh

>for FILE in `ls *.flf`
>do
>echo $FILE >> example.file
            ^^
            This might need to be  >>! if "noclobber" is set.

>echo ~~~~~~~~~~~~~~~ >> example.file
>echo $FILE | figlet -f $FILE >> example.file
>echo ~~~   ~~~   ~~~ >> example.file
>done
>-----cut here-----

For what it's worth, here's another that will do the same thing:

===8<---crash-and-burn-all-above------------
foreach flf ( *.flf)
echo $flf | figlet -f $flf >>! example.file
end
===8<---crash-and-burn-all-above------------

with other embellishments as you wish.  I use this at the
command-line quite often when I want to quickly look at some
fonts to choose one, although in this case I pipe the total
result to less (or more).

Cheers
Tony
          ___                                                     ___
          L_|_                                                   _|_J
         ( -O>                                                   <O- )
      ___//\J +-------------------------------------------------+ L/\\___
     //-,\    | Tony Nugent         Email:                      |    /,-\\
    || / \\___L Griffith University T.N...@sct.gu.edu.au      J___// \ ||
  _ ''/\/ '---J Brisbane Queensland tnu...@gucis.cit.gu.edu.au L---' \/\'' _
 / \ //\\.    | Australia                                       |    .//\\ / \
|_/\'/  ||    +-------------------------------------------------+    ||  \'/\_|
    '   ||_                                                         _||   '
        |__)                                                       (__|

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,3a59c8977aee9a2a
X-Google-Attributes: gidf996b,public
X-Google-Thread: 110f55,3a59c8977aee9a2a
X-Google-Attributes: gid110f55,public
X-Google-Thread: fbb9d,3a59c8977aee9a2a
X-Google-Attributes: gidfbb9d,public
X-Google-ArrivalTime: 1994-10-22 01:12:51 PST
Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!news.sprintlink.net!sashimi.wwa.com!not-for-mail
From: Tony Nugent <T.N...@sct.gu.edu.au>
Newsgroups: rec.arts.ascii,alt.ascii-art,alt.binaries.pictures.ascii
Subject: Info: Script to show all Figlet fonts
Date: 22 Oct 1994 01:22:48 -0500
Organization: Griffith University, Brisbane, Australia
Lines: 56
Sender: bob...@wwa.com
Approved: bob...@wwa.com
Message-ID: <38ab3o$t3...@sashimi.wwa.com>
References: <CxC...@adl33cc.adelphi.edu> <37bbc9$mf...@ceylon.gte.com> <37ll66$65...@infa.central.susx.ac.uk> <37mlkb$m7...@gagme.wwa.com> <383omj$7f...@sashimi.wwa.com>
Reply-To: T.N...@sct.gu.edu.au
NNTP-Posting-Host: sashimi.wwa.com
Xref: nntp.gmd.de rec.arts.ascii:2375 alt.ascii-art:15732
About this message. This message was posted publicly to the newsgroup rec.arts.ascii in 1994 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post