Claus Atzenbeck schreef:
Anyway, thanks for your help, also to all others!
Last but not least my sed-script:
$ formail +1 -z -cx From: \
-cx Subject: \
-cx Status: \
-s sed -nf abstract.sed < mailbox-file
# Filename: abstract.sed
# Should be called with the -n option.
# ----------------------------------------------------
#
# Append all lines to the pattern space,
# separated by \n.
#
:a
$! { N
ba
}
# Quit if the R-flag was in the last line.
#
#
/R[^\n]*$/ q
# Replace the first newline by itself and the
# arrow in front of the second line.
#
s/\n/&-> /1
# Make (the part of the pattern space that represents)
# the last line empty.
#
s/\(\n\)[^\n]*$/\1/
# Print the pattern space.
#
p
--
Grtz, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail