aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/catman
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2011-08-05 15:07:28 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2011-08-05 15:07:28 +0000
commit72baa018d09335a834776a62ad3b040f1395d397 (patch)
tree7b8ac3d7b7cb7b0493105919ab7a3c0a6ab4a4da /usr.bin/catman
parentf58d163a2c2c1e35f1b10f0e15f8107509f84280 (diff)
Notes
Diffstat (limited to 'usr.bin/catman')
-rw-r--r--usr.bin/catman/catman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/catman/catman.c b/usr.bin/catman/catman.c
index b79c56217e02..0bb6621aeea3 100644
--- a/usr.bin/catman/catman.c
+++ b/usr.bin/catman/catman.c
@@ -432,7 +432,7 @@ process_page(char *mandir, char *src, char *cat, enum Ziptype zipped)
}
snprintf(tmp_file, sizeof tmp_file, "%s.tmp", cat);
snprintf(cmd, sizeof cmd,
- "%scat %s | tbl | nroff -T%s -man | %s > %s.tmp",
+ "%scat %s | tbl | nroff -c -T%s -man | %s > %s.tmp",
zipped == BZIP ? BZ2CAT_CMD : zipped == GZIP ? GZCAT_CMD : "",
src, nroff_device,
zipped == BZIP ? BZ2_CMD : zipped == GZIP ? GZ_CMD : "cat",