From: Henry Segerman Newsgroups: alt.ascii-art Subject: Sierpinsky triangle Date: 13 Feb 2000 21:50:07 GMT Organization: Oxford University, England Lines: 44 Message-ID: <8878uf$f4a$1@news.ox.ac.uk> NNTP-Posting-Host: sable.ox.ac.uk X-Trace: news.ox.ac.uk 950478607 15498 163.1.2.4 (13 Feb 2000 21:50:07 GMT) X-Complaints-To: newsmaster@ox.ac.uk NNTP-Posting-Date: 13 Feb 2000 21:50:07 GMT User-Agent: tin/pre-1.4-19990927 ("Nine While Nine") (UNIX) (OSF1/V4.0 (alpha)) Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!News.Amsterdam.UnisourceCS!skynet.be!newsfeed.stanford.edu!logbridge.uoregon.edu!server3.netnews.ja.net!news.ox.ac.uk!not-for-mail Xref: chonsp.franklin.ch alt.ascii-art:8588 Not my idea, but I saw this on rec.puzzles and I think it belongs here too :) :. :.:. :. :. :.:.:.:. :. :. :.:. :.:. :. :. :. :. :.:.:.:.:.:.:.:. :. :. :.:. :.:. :. :. :. :. :.:.:.:. :.:.:.:. :. :. :. :. :.:. :.:. :.:. :.:. :. :. :. :. :. :. :. :. :.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. :. :. :.:. :.:. :. :. :. :. :.:.:.:. :.:.:.:. :. :. :. :. :.:. :.:. :.:. :.:. :. :. :. :. :. :. :. :. :.:.:.:.:.:.:.:. :.:.:.:.:.:.:.:. :. :. :. :. :.:. :.:. :.:. :.:. :. :. :. :. :. :. :. :. :.:.:.:. :.:.:.:. :.:.:.:. :.:.:.:. :. :. :. :. :. :. :. :. :.:. :.:. :.:. :.:. :.:. :.:. :.:. :.:. :. :. :. :. :. :. :. :. :. :. :. :. :. :. :. :. :.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. T. James -- ,-, Henry Segerman |/ |.--, /\ | /|/\,--, , /| | \/ | / | /\ | |/ ' `--'\/|/ | \/ `--'| /| uewJ363S hJu3H `-' ###### From: Ilmari Karonen Newsgroups: alt.ascii-art Subject: Re: Sierpinsky triangle Date: 14 Feb 2000 09:28:10 GMT Organization: (dis)Order of the Holy Spoon (or whatever) Lines: 18 Distribution: world Message-ID: <888hra$l5n$1@tron.sci.fi> References: <8878uf$f4a$1@news.ox.ac.uk> Reply-To: Ilmari Karonen NNTP-Posting-Host: simpukka.saunalahti.fi X-Trace: tron.sci.fi 950520490 21687 195.74.0.20 (14 Feb 2000 09:28:10 GMT) X-Complaints-To: newsmaster@saunalahti.fi NNTP-Posting-Date: 14 Feb 2000 09:28:10 GMT User-Agent: postit.pl 0.04 Path: chonsp.franklin.ch!pfaff.ethz.ch!news-zh.switch.ch!news-ge.switch.ch!news.maxwell.syr.edu!news.algonet.se!algonet!newsfeed1.swip.net!swipnet!newsfeed3.funet.fi!news.cc.tut.fi!uutiset.saunalahti.fi!not-for-mail Xref: chonsp.franklin.ch alt.ascii-art:8586 On 13 Feb 2000 21:50:07 GMT, Henry Segerman (sjoh0780@sable.ox.ac.uk) wrote: : Not my idea, but I saw this on rec.puzzles and I think it belongs here too :) : :. : :.:. : :. :. : :.:.:.:. perl -le 'for($_=":.";print;s/..(?=:)/$&^":."^" "/eg){s/^/ /}' You probably want to pipe the output to a pager. I think this version is even cooler: perl -le 'for($_="db";print;s/..(?=d)/$&^"DB"/eg){s/^/ /}' -- Ilmari Karonen - http://www.sci.fi/~iltzu/ "Do you replace the battery with a grapefruit when your car won't start, just in case that's the problem?" -- Sam Holden in comp.lang.perl.misc