Re: deleting that maillist footer - solved!

"Sven Guckes [email protected] [sed-users]" <[email protected]>
Newsgroups gmane.editors.sed.user
Message-ID <[email protected]>
* Dan Goldman <[email protected]> [2016-01-20 00:28]:
> $q means "quit if last line of file".

ah! :)

> Here is a similar, simpler way that I think
> works, even as a somewhat long one-liner:
> /^-----*$/ {N; /Posted by:/ {N; /------$/ d } }

yay! :)

a one-liner right there.  no need to change
to another tool or scripting.  happy again. :)

thank you all for contributing!

so my sed script changes+deletes text -
and i got many text colouring for mutt,
and also colouring for text in vim
as well as many commands to fix stuff.

now on to finally adjusting some things
to asciidoc or markdown or pandoc - and
finally put it all together in a book
which is small and yet readable on phones.
stay tuned! :)

Sven
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.