Le 31/01/2023 à 21:14, Greg Wooledge a écrit :
> A .signature file is only written once, so it doesn't matter how
> tedious it is to produce the desired formatting.  That said, I would
> imagine relatively few people have octothorpe boxes around text in their
> .signature files these days.  Even back in the 1990s, that would have
> been considered a bit on the tacky side.

Of course, I misspoke about the signature. I often see *some* formatting
(such as some text aligned to the left and some other text aligned to
the right, same line).

But you are right, .signature file is only written once and I am looking
for a simple way to write email with some minimal ASCII formatting. This
is why I am looking for an automatic solution.

I do not want to do ASCII art, I am only searching a simple way to do
something close to the debian-annouce emails.

------------------------------------------------------------------------
The Debian Project                               https://www.debian.org/
Updated Debian 11: 11.6 released                        pr...@debian.org
December 17th, 2022            https://www.debian.org/News/2022/20221217
------------------------------------------------------------------------

How this header is generated?


So do someone knows:


1- a simple way to draw a line (without pressing 72 times on "-")
-----------------------------------------------------------------------

2- a simple way to align some text to the right (that is to say to
automatically calculate how many spaces are needed to fill the gap
between the text on the left an the text on the right for 72 characters
line.

3- a simple way to do boxes (no present in debian-annouce header)


Reply via email to