GNU bug report logs - #11183
[coreutils 8.13] touch: add options -v, --verbose

Previous Next

Package: coreutils;

Reported by: Jari Aalto <jari.aalto <at> cante.net>

Date: Thu, 5 Apr 2012 05:16:01 UTC

Severity: normal

Tags: notabug

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jari Aalto <jari.aalto <at> cante.net>
Subject: bug#11183: closed (Re: bug#11183: [coreutils 8.13] touch: add
 options -v, --verbose)
Date: Sun, 07 Oct 2012 09:40:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#11183: [coreutils 8.13] touch: add options -v, --verbose

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 11183 <at> debbugs.gnu.org.

-- 
11183: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11183
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jim Meyering <jim <at> meyering.net>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 11183-done <at> debbugs.gnu.org, Jari Aalto <jari.aalto <at> cante.net>
Subject: Re: bug#11183: [coreutils 8.13] touch: add options -v, --verbose
Date: Sun, 07 Oct 2012 11:39:08 +0200
tags 11183 notabug
thanks

Jim Meyering wrote:
> Pádraig Brady wrote:
>> On 04/05/2012 06:14 AM, Jari Aalto wrote:
>>>
>>> Please add verbose options to program touch(1):
>>>
>>>     -v, --verbose
>>>
>>> Similarly than what is found in cp(1), mv(1). Seing what files are being
>>> touched e.g. from scripts would be helpful:
>>>
>>>     touch ${optionverbose:+--verbose} <file pattern>
>>
>> Well files are always touched, or at a low level if the
>> timestamps don't need to be updated, this info isn't returned.
>>
>> Also to indicate as to whether files were created or not,
>> is problematic, I don't think that can be done atomically.
>
> Exactly.
> I'd rather not add any more --verbose options like this.
> In fact, I have been sorely tempted to remove the --verbose
> options from chown/chgrp and chmod: the options add complexity and
> the printed results are not reliable.

Also, touch is different from mv and cp.  For those two,
using --verbose can provide basic progress indicator when
the files are large, and for mv, when rename is not usable.

So I'm closing this.

[Message part 3 (message/rfc822, inline)]
From: Jari Aalto <jari.aalto <at> cante.net>
To: GNU Project <bug-coreutils <at> gnu.org>
Subject: [coreutils 8.13] touch: add options -v, --verbose
Date: Thu, 05 Apr 2012 08:14:20 +0300
Please add verbose options to program touch(1):

    -v, --verbose

Similarly than what is found in cp(1), mv(1). Seing what files are being
touched e.g. from scripts would be helpful:

    touch ${optionverbose:+--verbose} <file pattern>

Jari



This bug report was last modified 12 years and 308 days ago.

Previous Next


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