GNU bug report logs - #21065
Small bug in touch

Previous Next

Package: coreutils;

Reported by: Rickard Norlander <rickardnorlander <at> gmail.com>

Date: Wed, 15 Jul 2015 15:03:01 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Rickard Norlander <rickardnorlander <at> gmail.com>,  21065 <at> debbugs.gnu.org
Subject: bug#21065: Small bug in touch
Date: Wed, 15 Jul 2015 16:20:36 +0100
On 15/07/15 14:25, Rickard Norlander wrote:
> touch version 8.23
> 
> Command:
> $ touch -- '-'
> Happens:
> Returns successfully, but no file is created (if file exists, timestamp is not updated)

That is inconsistent with other platforms, though is documented
at the top of the man page, and done on purpose since v5.90 with:
http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=e3513e1




This bug report was last modified 10 years and 6 days ago.

Previous Next


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