diff options
author | Pádraig Brady <P@draigBrady.com> | 2008-03-28 22:55:31 +0000 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-06-06 14:16:45 +0200 |
commit | 75e0047c4b916393b6be3cb985c4c4d4a2d1a836 (patch) | |
tree | ac520fe47c6ba9fa6a725d47ba6f20eb4be5ddc5 /man | |
parent | 74c0bfbc4cf0b38c9c8af7b018f8bbff60da6767 (diff) | |
download | coreutils-75e0047c4b916393b6be3cb985c4c4d4a2d1a836.tar.xz |
Add new program: truncate
* AUTHORS: Register as the author
* NEWS: Mention this change
* README: Add truncate command to list
* src/truncate.c: New command
* src/Makefile.am: Add truncate command to list to build
* src/.gitignore: Add truncate binary to list to ignore
* doc/coreutils.texi (truncate invocation): Add truncate info
* man/Makefile.am: Add truncate man page to list to build
* man/truncate.x: Add truncate man page template
* po/POTFILES.in: Add truncate to list to translate
* tests/Makefile.am: Add truncate tests
* tests/misc/help-version: Add support for new truncate command
* tests/misc/truncate-dangling-symlink: check dangling link ok
* tests/misc/truncate-dir-fail: ensure dirs fail
* tests/misc/truncate-fail-diag: validate messages for missing paths
* tests/misc/truncate-fifo: ensure fifos ignored
* tests/misc/truncate-no-create-missing: ensure -c option honoured
* tests/misc/truncate-overflow: check signed integer overflows
* tests/misc/truncate-owned-by-other: root permissions check
* tests/misc/truncate-parameters: check invalid parameter combinations
* tests/misc/truncate-relative: check invalid relative sizes
Diffstat (limited to 'man')
-rw-r--r-- | man/Makefile.am | 1 | ||||
-rw-r--r-- | man/truncate.x | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index 3fa22609c..67ac4bde0 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -117,6 +117,7 @@ timeout.1: $(common_dep) $(srcdir)/timeout.x ../src/timeout.c touch.1: $(common_dep) $(srcdir)/touch.x ../src/touch.c tr.1: $(common_dep) $(srcdir)/tr.x ../src/tr.c true.1: $(common_dep) $(srcdir)/true.x ../src/true.c +truncate.1: $(common_dep) $(srcdir)/truncate.x ../src/truncate.c tsort.1: $(common_dep) $(srcdir)/tsort.x ../src/tsort.c tty.1: $(common_dep) $(srcdir)/tty.x ../src/tty.c uname.1: $(common_dep) $(srcdir)/uname.x ../src/uname.c diff --git a/man/truncate.x b/man/truncate.x new file mode 100644 index 000000000..29fa15562 --- /dev/null +++ b/man/truncate.x @@ -0,0 +1,6 @@ +[NAME] +truncate \- shrink or extend the size of a file to the specifed size +[DESCRIPTION] +.\" Add any additional description here +[SEE ALSO] +dd(1), truncate(2), ftruncate(2) |