summaryrefslogtreecommitdiff
path: root/mdoc2man.awk
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2007-06-05 19:30:47 +1000
committerDarren Tucker <dtucker@zip.com.au>2007-06-05 19:30:47 +1000
commit88bca0641d410bba22cce9c1407d5bd6ac79e5c3 (patch)
treed2e8b5944392794126d02b1267765b2aa7038852 /mdoc2man.awk
parent51e5ab06d327f08b5d74fb8ea7b3fb5c2cde30a2 (diff)
- (dtucker) [mdoc2man.awk] Remove trailing "$" from Mdocdate regex so
mindrot's cvs doesn't expand it on us.
Diffstat (limited to 'mdoc2man.awk')
-rw-r--r--mdoc2man.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc2man.awk b/mdoc2man.awk
index 5f46aa140..ff771a9db 100644
--- a/mdoc2man.awk
+++ b/mdoc2man.awk
@@ -1,6 +1,6 @@
1#!/usr/bin/awk 1#!/usr/bin/awk
2# 2#
3# $Id: mdoc2man.awk,v 1.6 2007/06/05 09:16:59 dtucker Exp $ 3# $Id: mdoc2man.awk,v 1.7 2007/06/05 09:30:48 dtucker Exp $
4# 4#
5# Version history: 5# Version history:
6# v4+ Adapted for OpenSSH Portable (see cvs Id and history) 6# v4+ Adapted for OpenSSH Portable (see cvs Id and history)
@@ -138,7 +138,7 @@ function add(str) {
138 nospace=0 138 nospace=0
139 } 139 }
140 if(match(words[w],"^Dd$")) { 140 if(match(words[w],"^Dd$")) {
141 if(match(words[w+1],"^\\$Mdocdate:$")) { 141 if(match(words[w+1],"^\\$Mdocdate:")) {
142 w++; 142 w++;
143 if(match(words[w+4],"^\\$$")) { 143 if(match(words[w+4],"^\\$$")) {
144 words[w+4] = "" 144 words[w+4] = ""