Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: [wp-hackers] ASCII Menu Art

  • To: wp-hackers@xxxxxxxxxxxxxxxxxxxx
  • Subject: Re: [wp-hackers] ASCII Menu Art
  • From: Roy Schestowitz <r@xxxxxxxxxxxxxxx>
  • Date: Tue, 25 Jul 2006 18:59:04 +0100
  • Delivery-date: Tue, 25 Jul 2006 18:59:06 +0100
  • Envelope-to: s@schestowitz.com
  • In-reply-to: <44C6202B.1040204@robm.me.uk>
  • References: <000601c6afdf$344458a0$9ccd09e0$@net> <7CEAD111-BD05-4161-81F0-83D0D2167A7E@gmail.com> <f1cf41430607250637l2d681498v87dc4aaf4eca5467@mail.gmail.com> <44C6202B.1040204@robm.me.uk>
  • User-agent: Internet Messaging Program (IMP) H3 (4.0.3)
___/ On Tue 25 Jul 2006 14:44:11 BST, [ Rob Miller ] wrote : \___

Mike Wendell wrote:
Wouldn't the bit that does the combining of hyphens muck that up
though? (I haven't had my coffee yet today.  I can't think of the name
of the bit that does that.)

wptexturize and yes.

I normally just do:

+ Top
++ Sub
+++ Sub-Sub
++ Sub 2
+++ Sub-Sub 2
+++ Sub-Sub 3

although I hardly think it's a big deal.

I don't know about WordPress-specific tools, but there are many command-line utilities to simplify the rendering of ASCII art. Have a look at freshmeat.net as they will almost definitely be something there. Here, for example, is a use of a script (binary) called boxes, as well as a Perl script called paradj.

,----[ indent.sh ]
| cboard=`dcop klipper klipper getClipboardContents`
| echo $cboard > ~/in
| perl ~/Main/Programs/paradj/paradj.pl --width=60  -n -b ~/in > ~/med
| boxes               -d whirly           ~/med > ~/out
| dcop klipper klipper setClipboardContents "$(cat ~/out)"
`----

Applying this chain to the former part of this reply I get:


.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+. ( .+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+. ) )( I don't know about WordPress-specific tools, but there are ( ( ) )many command-line utilities to simplify the rendering of ) )( ( ASCII art. Have a look at freshmeat.net as they will ( ( almost ) )definitely be something there. Here, for example, ) )is a use ( ( of a script (binary) called boxes, as well as a ( ( Perl script ) )called paradj. ( ( ) ) )"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+" ( ( ) "+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"+.+"

There are many more such toy scripts. Try 'ascii menu' under Freshmeat.

Best wishes,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com  |  GNU is Not UNIX  |     PGP-Key: 0x74572E8E
roy      pts/8                         Tue Jul 25 18:48   still logged in
     http://iuron.com - proposing a non-profit search engine


[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index