Bug 142814 - [patch] add beginning and end offset options to md5(1)
Summary: [patch] add beginning and end offset options to md5(1)
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 7.2-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2010-01-14 04:50 UTC by Mikhail T.
Modified: 2017-12-31 22:34 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail T. 2010-01-14 04:50:03 UTC
	When copying a huge file over a slow link, I wanted to check,
	if the already downloaded part is correct by computing the
	digests on both sides. Doing so from command line is rather
	hard right now, and requires the use of split(1) on both ends,
	which is not always feasible due to file-sizes.

	If md5(1) already had the begin and end options, I could've
	simply used them to process only part of the initial portions
	of the file on each machine.


The patch -- against HEAD -- can be found at


	It also corrects the utility to fail with an exit-code specified
	by sysexits(3), rather than with an arbitrary 1. Also, asking for
	help (with the -h option) causes it to print the usage message
	and then exit with 0.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:06 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped