Subject: bug#12334: closed (Re: bug#12334: [patches] two tiny textual fixes for 'touch')

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 03 Sep 2012 16:57:01 +0000

Your bug report

#12334: [patches] two tiny textual fixes for 'touch'

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 [email-masked].

-- 
12334: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12334
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#12334: [patches] two tiny textual fixes for 'touch'
From: Jim Meyering <[email-masked]>
To: Benno Schulenberg <[email-masked]>
Cc: [email-masked]
Date: Mon, 03 Sep 2012 18:55:18 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Benno Schulenberg wrote:
> On Sun, Sep 2, 2012, at 18:10, Jim Meyering wrote:
>> Sure, but please s/recognized/accepted/.
>
> Then let it be, as for me "accepted" means just about
> the opposite of "ignored".  I chose "recognized" because
> 'touch' reacts to an option it does not know at all with:
> "unrecognized option".
>
> $ touch --the bell
> touch: unrecognized option '--the'

Leaving things as-is is fine with me.
I've marked this ticket as "done".

Subject: [patches] two tiny textual fixes for 'touch'
From: Benno Schulenberg <[email-masked]>
To: [email-masked]
Date: Sun, 02 Sep 2012 13:31:54 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Attached two patches slightly improve the help text
and documentation of 'touch'.

Regards,

Benno

-- 
http://www.fastmail.fm - A no graphics, no pop-ups email service

From 5df770d0e0b1d64d18a1ca0885f334e98e892f35 Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[email-masked]>
Date: Sat, 18 Aug 2012 12:18:37 +0200
Subject: [PATCH 1/2] touch: line up long option in help text properly

---
 src/touch.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/touch.c b/src/touch.c
index 5976a34..3d93464 100644
--- a/src/touch.c
+++ b/src/touch.c
@@ -238,7 +238,7 @@ Mandatory arguments to long options are mandatory for short options too.\n\
       fputs (_("\
   -r, --reference=FILE   use this file's times instead of current time\n\
   -t STAMP               use [[CC]YY]MMDDhhmm[.ss] instead of current time\n\
-  --time=WORD            change the specified time:\n\
+      --time=WORD        change the specified time:\n\
                            WORD is access, atime, or use: equivalent to -a\n\
                            WORD is modify or mtime: equivalent to -m\n\
 "), stdout);
-- 
1.7.0.4

From 5a55f3554f4cc6293b8defc0ab7b87299ff9d54a Mon Sep 17 00:00:00 2001
From: Benno Schulenberg <[email-masked]>
Date: Sat, 18 Aug 2012 12:20:39 +0200
Subject: [PATCH 2/2] docs: slightly clarify why touch recognizes option -f

---
 doc/coreutils.texi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index f2620bc..d143a32 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -10468,7 +10468,7 @@ silently ignore any excess precision here.
 @item -f
 @opindex -f
 @cindex BSD @command{touch} compatibility
-Ignored; for compatibility with BSD versions of @command{touch}.
+Ignored; recognized for compatibility with BSD versions of @command{touch}.
 
 @item -h
 @itemx --no-dereference
-- 
1.7.0.4