diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2008-10-31 14:42:45 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2008-10-31 14:42:45 +0000 |
commit | 1a51d551aa0e1784e7618e11166cf3475d5bedbd (patch) | |
tree | f7ad2467215fc518f41105f0098789286599a598 /regress/usr.bin | |
parent | 1f5a15377b79324edce0b19ada27b140f551e5a7 (diff) |
Prevent Mdocdate from getting expanded inline.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/mdoclint/mdoclint | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/mdoclint/mdoclint b/regress/usr.bin/mdoclint/mdoclint index 5b05ce370bf..07bbe246a32 100644 --- a/regress/usr.bin/mdoclint/mdoclint +++ b/regress/usr.bin/mdoclint/mdoclint @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# $OpenBSD: mdoclint,v 1.2 2008/10/31 14:26:56 jmc Exp $ +# $OpenBSD: mdoclint,v 1.3 2008/10/31 14:42:44 millert Exp $ # $NetBSD: mdoclint,v 1.18 2008/01/05 09:03:50 wiz Exp $ # # Copyright (c) 2001-2008 Thomas Klausner @@ -323,7 +323,7 @@ sub handle_file { } } if ($opt_d) { - if (/^.Dd/ and not /^.Dd\s*\$Mdocdate: October 31 2008 $$/) { + if (/^.Dd/ and not /^.Dd\s*.Mdocdate:\s*(January|February|March|April|May|June|July|August|September|October|November|December)\s*[1-9][0-9]*\s*(198[0-9]|199[0-9]|200[012345678])\s*\$$/) { warning("Invalid date found: `$_'"); } } |