(Generated by  groff(1))

S-bsdipa utility manual

This plain  groff(1) HTML output has only been fixed slightly — i am sorry for false list indentions etc.!


S-bsdipa [v0.8.0, 2025-07-03] — create or apply binary difference patch

SYNOPSIS

s-bsdipa32 — 32-bit limits
s-bsdipa64
— 64-bit limits

s-bsdipa −h

s-bsdipa [−fHJR] patch after before restored

s-bsdipa [−fHJR1-9] diff before after patch
s-bsdipa
[−fHJR1-9] diff/WINDOW before after patch

DESCRIPTION

S-bsdipa creates or applies binary difference patches by using Colin Percival’s BSDiff algorithm. Two distinct, non-interchangeable variants exist: s-bsdipa32 has 32-bit file size limits, s-bsdipa64 64-bit; memory footprint and control data size of the former is roughly half that of the latter. (Operational limit may be furtherly constrained by the address size limit of the host.)

When applying a patch the compression method is automatically detected, an explicitly given one must match. When creating a difference patch the diff/WINDOW variant allows to specify the “data inspection window size”, a positive integral value ≤4096, which defaults to 16 and has impacts on processing speed and patch size; its’ applicability depends on the data, but values outside the range 4 to 64 hardly seem useful.

Options

−1−9

Select compression level, with 1 being weakest and 9 being strongest. Silently ignored if unsupported by the method.

−f

Overwrite an existing target file.

−H

Do not read or write file identity header; one of −J | −R | −z must be used in addition.

−h

Show usage information and exit.

−J

Use LZMA2 compression. This is an optional feature.

−R

Uncompressed patch format without checksum (for testing).

−z

Use ZLIB compression (default).

AUTHORS

Steffen Nurpmeso <steffen@sdaoden.eu>.

Copyright (c) 1997 - 2024, Steffen Nurpmeso <steffen@sdaoden.eu>
@(#)site/code-bsdipa.html-w42 1.1 2025-07-03T17:46:36+0000