Re: fortune (was: [Evolution] Ximian & Wanda)

On Tue, 2003-06-03 at 16:13, Chris Blake wrote:

        #! /bin/csh -f
        echo "-- "
        cat ~markbo/.templates/signatureN
As you can see from my tag, I get no "newline" inserted after my details

This is my first script on any Linux box so mayhap I`m missing some

Ah yes - this isn't the script I actually use, and you just reminded me
why *my* script includes the line:

        echo -n "</pre>"

before the first echo up there (i.e. as the second line).  Your best bet
would be to change line 3 from:

         echo "-- "


        echo "</pre>-- "

Which I've just tested and works well here.

For reasons that are entirely beyond me, even if you're writing email in
Evo as plain text, and not HTML, it still reads the text generated by
the script as HTML and formats it as such.  The above additional </pre>
tells it that the text isn't pre-formatted any more, and so counter-
intuitively it leaves in the line breaks - don't ask me, but just <pre>
didn't help.  This has other side effects to the white-space in your
text, but that shouldn't effect the .sig you have there.  The whole
thing is a bit of a mess, and I can't wait to see what they've done with
this in 1.4 ;O)

Good luck,
o o                                       mailto:Moredhel earthling net
/v\ark R. Bowyer   Mark Bowyer Sun COM
`-'  ---------------------------------------  /"\
...fingerprint = 7924 9E9E 7B91 225E B065     \ / ASCII Ribbon Campaign 
1024D/19BC72F6   39D0 551D ABE6 1514 0DC1      X  Against HTML Mail
--------------------------------------------  / \ 
Is there anything more beautiful than a beautiful, beautiful flamingo,
flying across in front of a beautiful sunset?  And he's carrying a
beautiful rose in his beak, and also he's carrying a very beautiful
painting with his feet. 

Attachment: signature.asc
Description: This is a digitally signed message part

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