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.
Talk: Redirection on DOS & vi macro

Talk: Redirection on DOS & vi macro

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

>: 	figlet -f script < myfile.txt > text.file

>: or

>: 	cat myfile.txt | figlet -f script > text.file
>: ...

>All these methods are just simple redirections and pipes.  Do they work
>in the same way on non-UX systems?  

Redirection CERTAINLY works on dos!!
(Redirection can be very, VERY powerful!)

Don't know about amiga or macs though... (I have my doubts).

>I do like the method here, cos it allows you to enter the text in any
>friendly text editor.  Thanx for the idea.

I have a vi macro (on unix) that goes like this to figletise the
current line:

:map @F !!figlet -c -f

which will allow you to specify a font to use before you execute
it (or you can delete the -f parameter to use the standard font).
(Note that this is a TWO-key macro... @ then F in command mode!)
The -c parameter just centers the result.

(This macro goes into the EXINIT variable or into ~/.exrc)
         _   _            _      ___         _                 _      _ 
        | \ | | ___  __ _| |_   ( _ )    ___(_)_ __ ___  _ __ | | ___| |
        |  \| |/ _ \/ _` | __|  / _ \/\ / __| | '_ ` _ \| '_ \| |/ _ \ |
        | |\  |  __/ (_| | |_  | (_>  < \__ \ | | | | | | |_) | |  __/_|
        |_| \_|\___|\__,_|\__|  \___/\/ |___/_|_| |_| |_| .__/|_|\___(_)
                                                        |_|             
:-)

Cheers
Tony
_______________________________________________________________________________
\ Tony Nugent  Griffith University, Brisbane, Queensland, Australia           /
/      Email:  T.N...@sct.gu.edu.au  tnu...@gucis.cit.gu.edu.au            \
\                                                                             /
/           ** This Message Was Printed On 100% Recycled Electronics **       \
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-<
\ for a in past present future; do                                            /
/       for b in clients employers associates relatives neighbours pets; do   \
\ echo The opinions in this article in no way reflect the opinions of my $a $b/
/ done;done                                                                   \
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,3a59c8977aee9a2a
X-Google-Attributes: gidf996b,public
X-Google-Thread: fbb9d,3a59c8977aee9a2a
X-Google-Attributes: gidfbb9d,public
X-Google-Thread: 110f55,3a59c8977aee9a2a
X-Google-Attributes: gid110f55,public
X-Google-ArrivalTime: 1994-10-22 01:13:07 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: Talk: Redirection on DOS & vi macro
Date: 22 Oct 1994 01:22:55 -0500
Organization: Griffith University, Brisbane, Australia
Lines: 54
Sender: bob...@wwa.com
Approved: bob...@wwa.com
Message-ID: <38ab3v$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> <37pni6$1f...@sashimi.wwa.com> <383omd$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:2376 alt.ascii-art:15733

Related ASCII art in the Gallery

Explore these categories from our collection of 11,000+ artworks:

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