diff options
author | uqs <uqs@FreeBSD.org> | 2011-08-03 19:26:57 +0000 |
---|---|---|
committer | uqs <uqs@FreeBSD.org> | 2011-08-03 19:26:57 +0000 |
commit | c121431b65141f1147c9620d9e5cda40b11c0f73 (patch) | |
tree | 5085e258d298b8838973b24212b37c0fdc88e6bc /usr.bin/catman | |
parent | 0f65fdcb29dbe4f29dde3b5ae94b071ac26bd281 (diff) | |
download | FreeBSD-src-c121431b65141f1147c9620d9e5cda40b11c0f73.zip FreeBSD-src-c121431b65141f1147c9620d9e5cda40b11c0f73.tar.gz |
Unbreak catman(1) by removing calls to col(1).
col(1) was mangling the SGR escapes and is not strictly required.
See r222647, r222648, r222650, and r222653 for more details.
Reported by: delphij
Reviewed by: ru
Approved by: re (kib)
MFC after: 3 weeks
Diffstat (limited to 'usr.bin/catman')
-rw-r--r-- | usr.bin/catman/catman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/catman/catman.c b/usr.bin/catman/catman.c index c17a091..b79c562 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 | col | %s > %s.tmp", + "%scat %s | tbl | nroff -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", |