fernape
758c390e67
truncate(1): Add EXAMPLES section
...
Add four simple examples showing the use of -c, -r and -s
Approved by: manpages (bcr@)
Differential Revision: https://reviews.freebsd.org/D25774
2020-07-27 15:25:04 +00:00
manu
76772b9dc3
truncate: Add support for -s % and /
...
% round up to the multiple size and / round down
This is compatible with gnu truncate.
Add tests and document in the man page.
2018-07-09 19:03:30 +00:00
bapt
1f77f137dc
use .Mt to mark up email addresses consistently (part3)
...
PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>
2014-06-23 08:23:05 +00:00
ru
73c3b50972
The -r option can also cause the files to be extended (not
...
necessarily truncated).
2006-12-19 11:20:34 +00:00
ru
33e34aeeb5
Markup fixes.
2006-09-29 15:20:48 +00:00
pjd
a6661f4c72
Allow to specify size in terabytes by using T or t suffix.
...
This speeds up my testing a bit. Because truncate(1) doesn't allocate
blocks on file system before they are used, it is very useful to
emulate huge file systems:
# truncate -s 16T fs.img
# mdconfig -a -f fs.img
# newfs /dev/mdX
(-t swap can be used as well)
2006-04-09 19:16:24 +00:00
ru
6cc4b6c220
Added the EXIT STATUS section where appropriate.
2005-01-17 07:44:44 +00:00
le
8295db9038
Make size suffix case insensitive.
...
PR: bin/27604
Submitted by: David Xu <davidx@viasoft.com.cn>
2004-07-22 13:38:10 +00:00
sheldonh
5ec991a49c
* Update author's e-mail address.
...
* When the author of an utility also wrote its manual page (a rarety, I
know), it is not necessary to say that the utility "and this manual
page" were written by the author.
2001-08-16 08:40:54 +00:00
sheldonh
2ba16ad962
Use the .Cm macro to mark up the modifiers of the -s flag's size argument.
2001-08-16 08:19:09 +00:00
ru
bde8ec1b70
mdoc(7) police: utilize the new .Ex macro.
2001-08-15 09:09:47 +00:00
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
ee79097019
mdoc(7) police: use canonical form of .Dd macro.
2000-12-11 15:47:53 +00:00
ru
0d1334ca0c
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 19:21:22 +00:00
sheldonh
06273e7e66
Merge the truncate(1) utility onto the RELENG_4 branch and adjust
...
the HISTORY section to reflect the first release of FreeBSD in
which this utility will appear.
2000-08-04 08:05:52 +00:00
sheldonh
04a5c2bdc2
truncate.c:
...
Do not include unused header files.
Add rcsid.
Change copyright.
truncate.1:
Add AUTHORS section.
Submitted by: charnier
2000-07-24 08:56:42 +00:00
sheldonh
c72af522a2
Add a STANDARDS section to discourage the use of this utility
...
in environments where portability is a concern.
2000-07-21 13:05:15 +00:00
sheldonh
5df055483d
Import the new truncate(1) utility.
...
Approved by: jdp
2000-07-18 17:03:58 +00:00