.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "STRIP-NONDETERMINISM 1" .TH STRIP-NONDETERMINISM 1 2024-09-01 "perl v5.40.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME strip\-nondeterminism \- strip nondeterministic information from files .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& strip\-nondeterminism [\-t filetype] filename ... .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBstrip-nondeterminism\fR is a tool to strip bits of nondeterministic information, such as timestamps, from files. It can be used as a post-processing step to make a build reproducible, when the build process itself cannot be made deterministic. .SH OPTIONS .IX Header "OPTIONS" .IP "\fB\-t\fR \fIfiletype\fR, \fB\-\-type\fR \fIfiletype\fR" 4 .IX Item "-t filetype, --type filetype" Use the normalizer for the given file type (ar, gzip, jar, zip). If this option is not specified, the file type is detected automatically based on the file name extension. .IP "\fB\-T\fR \fIseconds\fR, \fB\-\-timestamp\fR \fIseconds\fR" 4 .IX Item "-T seconds, --timestamp seconds" Instead of stripping timestamps from files, set them to the given number of seconds since January 1, 1970. .IP \fB\-\-clamp\-timestamp\fR 4 .IX Item "--clamp-timestamp" Only replace timestamps if they are later than the time specified to \&\fB\-\-timestamp\fR. You can use this option to ensure that only timestamps introduced as part of the build process are replaced. NOT YET IMPLEMENTED FOR ALL FILE FORMATS. .IP "\fB\-\-normalizers\fR \fISPEC\fR" 4 .IX Item "--normalizers SPEC" Enable or disable specific normalizers separated by a comma (eg. \fB+foo,\-bar\fR. The magic values \fB+all\fR and \fB\-all\fR will enable and disable all normalizers. .IP "\fB\-h\fR, \fB\-\-help\fR" 4 .IX Item "-h, --help" Display this help message. .IP "\fB\-V\fR, \fB\-\-version\fR" 4 .IX Item "-V, --version" Print only the version string and then quit. .SH AUTHORS .IX Header "AUTHORS" Andrew Ayer Chris Lamb .SH COPYRIGHT .IX Header "COPYRIGHT" strip-nondeterminism is free software. You can redistribute it and/or modify it under the terms of the GNU General Public License, version 3.