X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,c288d57efd7c580d X-Google-Attributes: gidf996b,public From: Veronica Karlsson Subject: Re: Detecting ASCII art in emails Date: 2000/04/07 Message-ID: <38EE423B.12CB@earthling.net>#1/1 X-Deja-AN: 608130084 Content-Transfer-Encoding: 7bit References: <38E8A839.12EE@ukc.ac.uk> <8cdh7d$j6t$2@bigboote.WPI.EDU> <38ea4f82.27476028@news.apk.net> <954944858.4461@itz.pp.sci.fi> Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: alt.ascii-art Ilmari Karonen wrote: > Wesley Clifford wrote: > >Joshua E Millard wrote: > >>lower-weighted factor for your heuristic, but in terms of raw efficiency, > >>the pipe and slashes are probably more omnipresent in ASCII art and > > > >Just don't search through any emails pertaining to Unix or Dos. > > > >cat //usr/my_file.txt|grep -i "/[../]" > > ..or Perl. Here's a script I posted to comp.lang.perl.misc recently: > > perl -0777pi -e "s%\"']+|\"[^\"]*\"|'[^']*')*)?>%%ig" ^^ ###^^^^^ ^^ ^^^ ^^ | | | \ | / llizard cheese mouse smile wink another llizard looks like typical ascii art to me! :-) -- (, http://www.ludd.luth.se/~vk/cgi/asciichat/ /|__--__ . __--__ |\ '__ /|\ _{ _ `.' / `.,_ _________ | _________ _,.' (/ `. / ||``._.' ASCII ART CHAT! `---'|:||,/ .' /| /|:| \ .' /\ \ __ __ _ `/|'\' ` `,/ /`,\ \ \ / /__ _ _ ___ _ _ (_)__ __ _ /,'\ \ .'.' /| \ V / -_) '_/ _ \ ' \| / _/ _` | |\ `.`. ,' / / | \_/\___|_| \___/_||_|_\__\__,_| | \ \ `, - `- -- `-'- -ejm-------------------------------------VK-- -`-' -- -' -