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:
parent
9998c31f9a
commit
2bce74b178
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35284
@ -8,7 +8,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= cdiff
|
||||
PORTVERSION= 1.1
|
||||
PORTVERSION= 1.2
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -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
|
||||
|
@ -6,7 +6,7 @@
|
||||
fetch -q -o - $1
|
||||
;;
|
||||
*)
|
||||
cat $1
|
||||
zcat -f $1
|
||||
;;
|
||||
esac
|
||||
shift;
|
||||
|
Loading…
Reference in New Issue
Block a user