|
From: | Paul Eggert |
Subject: | bug#21065: Small bug in touch |
Date: | Wed, 15 Jul 2015 08:50:26 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
Pádraig Brady wrote:
done on purpose since v5.90 with: http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=e3513e1
Yes, the intent was that there be a way from the shell to touch a file even when one has only its file descriptor. Although POSIX does not specify the behavior of 'touch -' so portable scripts can't rely on it, users of GNU 'touch' can use it regardless of the underlying platform.
[Prev in Thread] | Current Thread | [Next in Thread] |