Package: postfix
Version: 2.9.3-2+b1
Severity: minor
Dear Maintainer,
The manual page of postfix's postsuper needs an update.
Currently it is not possible to copy and paste the provide example.
tail +2 has to be tail -n +2
because tail requires nowerdays the -n option to state number of lines
And quote character should just be the single quote character,
nothing special. So
awk ´BEGIN
becomes
awk 'BEGIN
and the closing quote also ´ to '
As unified diff:
--- man/man1/postsuper.1_from_2.9.3 2012-01-25 01:45:14.000000000 +0100
+++ man/man1/postsuper.1 2012-07-20 19:10:24.084079236 +0200
@@ -43,11 +43,11 @@
with exactly one recipient \[email protected]\fR:
.sp
.nf
-mailq | tail +2 | grep -v '^ *(' | awk \'BEGIN { RS = "" }
+mailq | tail -n +2 | grep -v '^ *(' | awk 'BEGIN { RS = "" }
# $7=sender, $8=recipient1, $9=recipient2
{ if ($8 == "[email protected]" && $9 == "")
print $1 }
-\' | tr -d '*!' | postsuper -d -
+ ' | tr -d '*!' | postsuper -d -
.fi
.sp
Specify "\fB-d ALL\fR" to remove all messages; for example, specify
I hope this Debian bugreport goes upstream.
Cheers
Geert Stappers
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]