diff --git a/txt2man b/txt2man index abc1c43..4f7586c 100755 --- a/txt2man +++ b/txt2man @@ -151,8 +151,8 @@ do (v) volume=$OPTARG;; (P) sys=$OPTARG;; (p) doprobe=1;; - (I) itxt="$OPTARG§$itxt";; - (B) btxt=$OPTARG;; + (I) itxt="$OPTARG§$itxt";; + (B) btxt="$OPTARG§$btxt";; (T) post="groff -mandoc -Tlatin1 | ${PAGER:-more}";; (X) post="groff -mandoc -X";; (*) usage; exit;; @@ -191,7 +191,7 @@ BEGIN { avar[1] = btxt; avar[2] = itxt for (k in avar) { mark = (k == 1) ? "\\fB" : "\\fI" - split(avar[k], tt, "§") + split(avar[k], tt, "§") for (i in tt) if (tt[i] != "") subwords["\\<" tt[i] "\\>"] = mark tt[i] "\\fP"