commit 12145b33e8b75ce5c9d821ce111355099c952307
Author: sin <[email protected]>
Date:   Sun Apr 13 14:45:15 2014 +0100

    Add truncate manpage

diff --git a/truncate.1 b/truncate.1
new file mode 100644
index 0000000..ffdcad5
--- /dev/null
+++ b/truncate.1
@@ -0,0 +1,18 @@
+.TH TRUNCATE 1 ubase-VERSION
+.SH NAME
+BtruncateR - Shrink or extend the size of a file to the specified size
+.SH SYNOPSIS
+BtruncateR [B-cR] B-sI size file...R
+.SH DESCRIPTION
+BtruncateR shrinks or extends the size of each IfileR to the
+specified size.  A IfileR argument that does not exist is created.
+If a IfileR is larger than the specified size, the extra data is lost.
+If a IfileR is shorter, it is extended and the extended part (hole) reads
+as zero bytes.
+.SH OPTIONS
+.TP
+B-cR Do not create any files.
+.TP
+B-sR Set or adjust the file size by IsizeR bytes.
+.SH SEE ALSO
+truncate(2), ftruncate(2)


Reply via email to