On 01 Feb 2003 16:47:02 -0400
Adolfo Bello <[EMAIL PROTECTED]> wrote:

> On Sat, 2003-02-01 at 16:36, Stephen Kuhn wrote:
> 
> > There have been some issues with the Evo generated sigs - so the
> > resolution to that is to either dig deeper into how it works, or
> > create your own script OUTSIDE of Evo to do it. I tried mucking around
> > with it over and over again and even employed some of the "HTML
> > tactics" to get it working, but alas, I'm sticking with my hand
> > generated one...
> I just finished with this one.
> 
> My final script is:
> 
> date -R > /tmp/fecha.txt
> uptime > /tmp/corriendo.txt
> /usr/games/fortune > /tmp/dicho.txt
> echo "--<br>"
> cat ~/scripts/firma.txt /tmp/fecha.txt /tmp/corriendo.txt /tmp/dicho.txt
> | sed -e "s/ /\&nbsp;/g" | sed -e "s/$/<br>/g"
> 
> As you can see is working just fine.
> 
> Goshhhhhh!!!!

Of course there a zillion ways to do this, but writing all that output to
other files is not necessary. For example,

echo "firma o lo que quieras"
date -R
uptime
fortune

does the same thing. The echo "--<br>" I think should be echo "-- " (two
hyphens and a space) and may not even be necessary depending on your MUA;
Sylpheed uses that as a delimiter by default, I think Mozilla too, don't
know Evolution.

Todd

-- 
Todd Slater
Mandrake Newbie mailing list help:
<mailto:[EMAIL PROTECTED]?subject=help>
Got a great Mandrake-Linux tip bookmarked? Send it to me and I'll include
it in my newbie tips fortune file!

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to