]> pd.if.org Git - zpackage/blob - doc/zpm-hash.8
remove stray debug fprintf
[zpackage] / doc / zpm-hash.8
1 .TH zpm-hash 8 2018-12-08 "ZPM 0.3"
2 .SH NAME
3 zpm-hash \- list files in a zpm package
4 .SH SYNOPSIS
5 .B zpm hash
6 [
7 .I file
8 ]
9 .SH DESCRIPTION
10 \fBzpm-hash\fR hashes a file, or standard input if no file is given, and prints
11 the hex encoded hash of the input to stdout, followed by a newline.
12 The hash is the same hash used by zpm internally to track file content.
13 The hash used is SHA-256.
14 .SH OPTIONS
15 None.
16 .SH EXAMPLES
17 .PP
18 .nf
19 cat /dev/null | zpm hash
20 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
21 .fi
22 .SH EXIT STATUS
23 0 on success non zero on failure
24 .SH FILES
25 None
26 .SH ENVIRONMENT
27 None
28 .SH AUTHOR
29 Nathan Wagner
30 .SH SEE ALSO
31 zpm(8)