Fix up markup.

This commit is contained in:
Ruslan Ermilov 2005-11-18 12:08:31 +00:00
parent f32ac3955d
commit bf2ed57b3d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=152573
2 changed files with 38 additions and 26 deletions

View File

@ -27,37 +27,43 @@
.\"
.Dd May 18, 2003
.Dt BSDIFF 1
.Os FreeBSD
.Os
.Sh NAME
.Nm bsdiff
.Nd generate a patch between two binary files
.Nd "generate a patch between two binary files"
.Sh SYNOPSIS
.Nm
.Ao Ar oldfile Ac Ao Ar newfile Ac Ao Ar patchfile Ac
.Ar oldfile newfile patchfile
.Sh DESCRIPTION
The
.Nm
utility
compares
.Ao Ar oldfile Ac
.Ar oldfile
to
.Ao Ar newfile Ac
.Ar newfile
and writes to
.Ao Ar patchfile Ac
a binary patch suitable for use by bspatch(1).
.Ar patchfile
a binary patch suitable for use by
.Xr bspatch 1 .
When
.Ao Ar oldfile Ac
.Ar oldfile
and
.Ao Ar newfile Ac
.Ar newfile
are two versions of an executable program, the
patches produced are on average a factor of five smaller
than those produced by any other binary patch tool known
to the author.
.Pp
The
.Nm
uses memory equal to 17 times the size of
.Ao Ar oldfile Ac ,
utility
uses memory equal to 17 times the size of
.Ar oldfile ,
and requires
an absolute minimum working set size of 8 times the size of oldfile.
an absolute minimum working set size of 8 times the size of
.Ar oldfile .
.Sh SEE ALSO
.Xr bspatch 1
.Sh AUTHORS
.An Colin Percival Aq cperciva@freebsd.org
.An Colin Percival Aq cperciva@FreeBSD.org

View File

@ -27,33 +27,39 @@
.\"
.Dd May 18, 2003
.Dt BSPATCH 1
.Os FreeBSD
.Os
.Sh NAME
.Nm bspatch
.Nd apply a patch built with bsdiff(1)
.Nd apply a patch built with
.Xr bsdiff 1
.Sh SYNOPSIS
.Nm
.Ao Ar oldfile Ac Ao Ar newfile Ac Ao Ar patchfile Ac
.Ar oldfile newfile patchfile
.Sh DESCRIPTION
The
.Nm
utility
generates
.Ao Ar newfile Ac
.Ar newfile
from
.Ao Ar oldfile Ac
.Ar oldfile
and
.Ao Ar patchfile Ac
.Ar patchfile
where
.Ao Ar patchfile Ac
is a binary patch built by bsdiff(1).
.Ar patchfile
is a binary patch built by
.Xr bsdiff 1 .
.Pp
The
.Nm
uses memory equal to the size of
.Ao Ar oldfile Ac
plus the size of
.Ao Ar newfile Ac ,
utility
uses memory equal to the size of
.Ar oldfile
plus the size of
.Ar newfile ,
but can tolerate a very small working set without a dramatic loss
of performance.
.Sh SEE ALSO
.Xr bsdiff 1
.Sh AUTHORS
.An Colin Percival Aq cperciva@freebsd.org
.An Colin Percival Aq cperciva@FreeBSD.org