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 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: boba@wwa.com Approved: boba@wwa.com Message-ID: <38ab3o$t32@sashimi.wwa.com> References: <37bbc9$mfc@ceylon.gte.com> <37ll66$65t@infa.central.susx.ac.uk> <37mlkb$m7g@gagme.wwa.com> <383omj$7fg@sashimi.wwa.com> Reply-To: T.Nugent@sct.gu.edu.au NNTP-Posting-Host: sashimi.wwa.com Xref: nntp.gmd.de rec.arts.ascii:2375 alt.ascii-art:15732 mpuj0@central.sussex.ac.uk (Chris) writes: >Bob Allison (boba@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>