- (dtucker) [mdoc2man.awk] Remove trailing "$" from Mdocdate regex so

mindrot's cvs doesn't expand it on us.
This commit is contained in:
Darren Tucker 2007-06-05 19:30:47 +10:00
parent 51e5ab06d3
commit 88bca0641d
2 changed files with 5 additions and 3 deletions

View File

@ -26,6 +26,8 @@
committing at his request)
- (dtucker) [mdoc2man.awk] Teach it to deal with $Mdocdate tags that
OpenBSD's cvs now adds.
- (dtucker) [mdoc2man.awk] Remove trailing "$" from Mdocdate regex so
mindrot's cvs doesn't expand it on us.
20070520
- (dtucker) OpenBSD CVS Sync
@ -2969,4 +2971,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
$Id: ChangeLog,v 1.4677 2007/06/05 09:16:59 dtucker Exp $
$Id: ChangeLog,v 1.4678 2007/06/05 09:30:47 dtucker Exp $

View File

@ -1,6 +1,6 @@
#!/usr/bin/awk
#
# $Id: mdoc2man.awk,v 1.6 2007/06/05 09:16:59 dtucker Exp $
# $Id: mdoc2man.awk,v 1.7 2007/06/05 09:30:48 dtucker Exp $
#
# Version history:
# v4+ Adapted for OpenSSH Portable (see cvs Id and history)
@ -138,7 +138,7 @@ function add(str) {
nospace=0
}
if(match(words[w],"^Dd$")) {
if(match(words[w+1],"^\\$Mdocdate:$")) {
if(match(words[w+1],"^\\$Mdocdate:")) {
w++;
if(match(words[w+4],"^\\$$")) {
words[w+4] = ""