1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Handle compressed files

This commit is contained in:
Eivind Eklund 2000-11-20 13:16:07 +00:00
parent 9998c31f9a
commit 2bce74b178
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35284
3 changed files with 5 additions and 4 deletions

View File

@ -8,7 +8,7 @@
#
PORTNAME= cdiff
PORTVERSION= 1.1
PORTVERSION= 1.2
CATEGORIES= textproc
MASTER_SITES= # none
DISTFILES= # none

View File

@ -37,8 +37,9 @@
.Op Ar diff ...
.Sh DESCRIPTION
.Nm
reads a unidiff or context diff from stdin or a set of files and URLs, adds color
codes, expands tabs to 8 spaces, and passes the results to
reads a unidiff or context diff from stdin or a set of (optionally compressed)
files and URLs, adds color codes, expands tabs to 8 spaces, and passes the
results to
.Xr less 1 .
If used on a color terminal, it makes diffs much easier to read.
.Sh AUTHORS

View File

@ -6,7 +6,7 @@
fetch -q -o - $1
;;
*)
cat $1
zcat -f $1
;;
esac
shift;