GNU bug report logs - #14686
Bug#713022: truncate man and info pages must mention -s / -r mandatory

Previous Next

Package: coreutils;

Reported by: jidanni <at> jidanni.org, 713022 <at> bugs.debian.org

Date: Fri, 21 Jun 2013 21:43:02 UTC

Severity: normal

Found in version 8.13-3.3

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 14686-done <at> debbugs.gnu.org (full text, mbox):

From: jidanni <at> jidanni.org
To: p <at> draigbrady.com
Cc: 713022 <at> bugs.debian.org, 14686-done <at> debbugs.gnu.org
Subject: Re: bug#14686: Bug#713022: truncate man and info pages must mention
 -s / -r mandatory
Date: Sat, 22 Jun 2013 16:42:01 +0800
I thought it would do the obvious, like touch does.


NAME
       touch - change file timestamps

SYNOPSIS
       touch [OPTION]... FILE...

DESCRIPTION
       Update  the  access  and modification times of each FILE to the current
       time.

       A FILE argument that does not exist is created empty, unless -c  or  -h
       is supplied.



NAME
       truncate - shrink or extend the size of a file to the specified size

SYNOPSIS
       truncate OPTION... FILE...

DESCRIPTION
       Shrink or extend the size of each FILE to the specified size

       A FILE argument that does not exist is created.



Who would have guessed that for some reason an argument is required,
I don't see why
$ truncate FILE
cannot just work too.
You know, to truncate the file, to zero bytes.
But hey I'm not a pro.




This bug report was last modified 11 years and 333 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.