[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FWD: Debian Swirl ascii-art



On 10 Jul 2001 at 00:13 (-0700), Francois Gouget wrote:
| On Tue, 10 Jul 2001, Brent Verner wrote:
| 
| > On 09 Jul 2001 at 21:34 (-0700), Francois Gouget wrote:
| > | On 9 Jul 2001, Pawel Wiecek wrote:
| > | 
| > | > On Jul 9, 10:41am, Arthur Korn wrote:
| > | > > And now with colour:
| > | > 
| > | > Hi. I prefer it to be colored like this:
| > | > 
| > | >         _,met$$$$$gg.
| > | [...]
| > | 
| > |    Sorry to come in with a stupid question: how would one go about
| > | displaying this in color from a shell script?
| > |    I seem to remember doing this once but I just cannot remember now.
| > 
| > echo -e "        _,met\$\$\$\$\$gg."
| > 
| >   b
| 
|    Hmmm, there must be something more:

I've attached a file with a working colored line. FYI, to make the
<esc> character in vim: in insert mode type <ctrl>+v then <ctrl>+<esc>

  b

#!/bin/sh

echo -e "        _,met\$\$\$\$\$gg."
echo -e "      ,g\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$P."
echo -e "    ,g\$\$P\"\"       \"\"\"Y\$\$.\"."
echo -e "   ,\$\$P'              \`\$\$\$."
echo -e " ',\$\$P       ,ggs.     \`\$\$b:"
echo -e " \`d\$\$'     ,\$P\"'   .    \$\$\$"
echo -e "  \$\$P      d\$'     ,    \$\$P"
echo -e "  \$\$:      \$\$.   -    ,d\$\$'      "
echo -e "  \$\$;      Y\$b._   _,d\$P'        _,           _,      ,'\`."
echo -e "  Y\$\$.    \`.\`\"Y\$\$\$\$P\"'         \`\$\$'         \`\$\$'     \`.  ,'"
echo -e "  \`\$\$b      \"-.__               \$\$           \$\$        \`'"
echo -e "   \`Y\$\$b                        \$\$           \$\$         _,           _"
echo -e "    \`Y\$\$.                 ,d\$\$\$g\$\$  ,d\$\$\$b.  \$\$,d\$\$\$b.\`\$\$' g\$\$\$\$\$b.\`\$\$,d\$\$b."
echo -e "      \`\$\$b.              ,\$P'  \`\$\$ ,\$P' \`Y\$. \$\$\$'  \`\$\$ \$\$  \"'   \`\$\$ \$\$\$' \`\$\$"
echo -e "        \`Y\$\$b.           \$\$'    \$\$ \$\$'   \`\$\$ \$\$'    \$\$ \$\$  ,ggggg\$\$ \$\$'   \$\$"
echo -e "          \`\"Y\$b._        \$\$     \$\$ \$\$ggggg\$\$ \$\$     \$\$ \$\$ ,\$P\"   \$\$ \$\$    \$\$"
echo -e "              \`\"\"\"\"      \$\$    ,\$\$ \$\$.       \$\$    ,\$P \$\$ \$\$'   ,\$\$ \$\$    \$\$"
echo -e "                         \`\$g. ,\$\$\$ \`\$\$._ _., \$\$ _,g\$P' \$\$ \`\$b. ,\$\$\$ \$\$    \$\$"
echo -e "                          \`Y\$\$P'\$\$. \`Y\$\$\$\$P',\$\$\$\$P\"'  ,\$\$. \`Y\$\$P'\$\$.\$\$.  ,\$\$."
echo -e "  "
echo -e "Debian GNU/Linux (testing/unstable)"

Reply to: