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:
| > | >
| > | > [2J[0;0H[31;1m _,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 "[31m _,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 "[31m _,met\$\$\$\$\$gg."
echo -e "[31m ,g\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$P."
echo -e "[31m ,g\$\$P\"\" \"\"\"Y\$\$.\"."
echo -e "[31m ,\$\$P' \`\$\$\$."
echo -e "[31m ',\$\$P ,ggs. \`\$\$b:"
echo -e "[31m \`d\$\$' ,\$P\"' . \$\$\$"
echo -e "[31m \$\$P d\$' , \$\$P"
echo -e "[31m \$\$: \$\$. - ,d\$\$' "
echo -e "[31m \$\$; Y\$b._ _,d\$P' [0m _, _, ,'\`."
echo -e "[31m Y\$\$. \`.\`\"Y\$\$\$\$P\"' [0m \`\$\$' \`\$\$' \`. ,'"
echo -e "[31m \`\$\$b \"-.__ [0m \$\$ \$\$ \`'"
echo -e "[31m \`Y\$\$b [0m \$\$ \$\$ _, _"
echo -e "[31m \`Y\$\$. [0m ,d\$\$\$g\$\$ ,d\$\$\$b. \$\$,d\$\$\$b.\`\$\$' g\$\$\$\$\$b.\`\$\$,d\$\$b."
echo -e "[31m \`\$\$b. [0m ,\$P' \`\$\$ ,\$P' \`Y\$. \$\$\$' \`\$\$ \$\$ \"' \`\$\$ \$\$\$' \`\$\$"
echo -e "[31m \`Y\$\$b. [0m \$\$' \$\$ \$\$' \`\$\$ \$\$' \$\$ \$\$ ,ggggg\$\$ \$\$' \$\$"
echo -e "[31m \`\"Y\$b._ [0m \$\$ \$\$ \$\$ggggg\$\$ \$\$ \$\$ \$\$ ,\$P\" \$\$ \$\$ \$\$"
echo -e "[31m \`\"\"\"\"[0m \$\$ ,\$\$ \$\$. \$\$ ,\$P \$\$ \$\$' ,\$\$ \$\$ \$\$"
echo -e " \`\$g. ,\$\$\$ \`\$\$._ _., \$\$ _,g\$P' \$\$ \`\$b. ,\$\$\$ \$\$ \$\$"
echo -e " \`Y\$\$P'\$\$. \`Y\$\$\$\$P',\$\$\$\$P\"' ,\$\$. \`Y\$\$P'\$\$.\$\$. ,\$\$."
echo -e " "
echo -e "[36mDebian GNU/Linux[0m (testing/unstable)"
Reply to: