masqmail

view misc/update-manpage-date @ 204:5745edd5b769

removed the --disable-smtp-server configure option masqmail will now always have the possibility to listen on a port compiled in if you don't want it to listen on a port add this to your masqmail.conf: listen_addresses = "" also, if you don't start it as daemon it will not listen neither
author meillo@marmaro.de
date Fri, 16 Jul 2010 15:38:53 +0200
parents
children
line source
1 #!/bin/sh
2 #
3 # update the date and version of man pages
5 if [ $# -lt 2 ] ; then
6 echo "usage: update-manpage-header VERSION FILES..." >&2
7 exit 1
8 fi
11 date=`date +%Y-%m-%d`
13 version="$1"
14 shift
16 for i do
17 ed -s "$i" <<!
18 /^\.TH/s#[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}#$date#
19 s#[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}#$version#
20 p
21 w
22 q
23 !
24 done