X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f996b,1dc64acfba88065e X-Google-Attributes: gidf996b,public X-Google-Thread: 110f55,6776b888ea32fb05 X-Google-Attributes: gid110f55,public X-Google-Thread: fbb9d,1dc64acfba88065e X-Google-Attributes: gidfbb9d,public X-Google-ArrivalTime: 1994-10-02 01:04:14 PST Path: bga.com!news.sprintlink.net!sashimi.wwa.com!not-for-mail From: Out of Order Newsgroups: rec.arts.ascii,alt.ascii-art,alt.binaries.pictures.ascii Subject: Answer: Light-On-Dark to Dark-On-Light Converters? Date: 2 Oct 1994 02:57:12 -0500 Organization: precious little Lines: 27 Sender: boba@wwa.com Approved: boba@wwa.com Message-ID: <36lp4o$j13@gagme.wwa.com> References: <36501j$l30@gagme.wwa.com> <36h217$5bh@gagme.wwa.com> NNTP-Posting-Host: gagme.wwa.com Xref: bga.com rec.arts.ascii:1877 alt.ascii-art:12538 alt.binaries.pictures.ascii:1251 And The Scarecrow spake unto us, saying: > But as to flipping the light and dark of a pic while it is ASCII, I > don't know. Dose anybody recall if there is a program or script for this? In UNIX csh you could alias a tr command something like: alias invert "tr '[\040-\177]' 'QWERTYUIOP...' < \!*" (The QWERTYUIOP... is whatever order you think the 96 characters between 32 and 127 should be in.) To use it you would then type invert filename and it'd display the inverted one on the screen. Save with invert filename>filename2. I'm not about to think that hard at this time of night, but if anyone tries this, please post the complete alias and an example of what it can do. __ ___ __ __ _ ___ _ ___ _ ___ _ ___ _ __ __ ___ __ |_| _| / | |_| / \. _| / \. | | | / \ | | | ./ \ |_ ./ \ |_| | \ |_ |_| / | __| \_| / | \_/ | \_/ | |_| \_/ |_| | \_/ | \_/ | \ |_/ |__ | \ ude.cmh@sleumasp psamuels@hmc.edu (nosleumaS reteP r(O)r Peter Samuelson) [October 17 -- It's Time! Ask me for details!]