diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | mdoc2man.awk | 8 |
2 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20040702 | ||
2 | - (dtucker) [mdoc2man.awk] Teach it to ignore .Bk -words, reported by | ||
3 | strube at physik3.gwdg.de a long time ago. | ||
4 | |||
1 | 20040701 | 5 | 20040701 |
2 | - (dtucker) [session.c] Call display_loginmsg again after do_pam_session. | 6 | - (dtucker) [session.c] Call display_loginmsg again after do_pam_session. |
3 | Ensures messages from PAM modules are displayed when privsep=no. | 7 | Ensures messages from PAM modules are displayed when privsep=no. |
@@ -1477,4 +1481,4 @@ | |||
1477 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 1481 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
1478 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 1482 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
1479 | 1483 | ||
1480 | $Id: ChangeLog,v 1.3467 2004/07/02 03:41:15 tim Exp $ | 1484 | $Id: ChangeLog,v 1.3468 2004/07/02 08:43:09 dtucker Exp $ |
diff --git a/mdoc2man.awk b/mdoc2man.awk index fe678fd37..4e72cdc1c 100644 --- a/mdoc2man.awk +++ b/mdoc2man.awk | |||
@@ -32,6 +32,7 @@ BEGIN { | |||
32 | extopt=0 | 32 | extopt=0 |
33 | literal=0 | 33 | literal=0 |
34 | prenl=0 | 34 | prenl=0 |
35 | breakw=0 | ||
35 | line="" | 36 | line="" |
36 | } | 37 | } |
37 | 38 | ||
@@ -298,6 +299,13 @@ function add(str) { | |||
298 | w=nwords | 299 | w=nwords |
299 | } else if(match(words[w],"^El$")) { | 300 | } else if(match(words[w],"^El$")) { |
300 | optlist=oldoptlist | 301 | optlist=oldoptlist |
302 | } else if(match(words[w],"^Bk$")) { | ||
303 | if(match(words[w+1],"-words")) { | ||
304 | w++ | ||
305 | breakw=1 | ||
306 | } | ||
307 | } else if(match(words[w],"^Ek$")) { | ||
308 | breakw=0 | ||
301 | } else if(match(words[w],"^It$")&&optlist) { | 309 | } else if(match(words[w],"^It$")&&optlist) { |
302 | if(optlist==1) | 310 | if(optlist==1) |
303 | add(".IP \\(bu") | 311 | add(".IP \\(bu") |