bugfindutils - Bugs: bug #60822, Missing "@" in worked...

 
 

bug #60822: Missing "@" in worked example

Submitter:  None
Submitted:  Fri 25 Jun 2021 11:20:07 AM UTC
   
 
Category:  documentation Severity:  3 - Normal
Item Group:  None Status:  Duplicate
Privacy:  Public Assigned to:  berny
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  4.9.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 01 Feb 2022 08:14:53 PM UTC, comment #1: 

Duplicates #60823.

Bernhard Voelker <berny>
Group administrator
Fri 25 Jun 2021 11:20:07 AM UTC, original submission:  

The "Using -printf and sort to compare timestamps" example has this example code:

    newest=$(find subdir -newer timestamp -printf "%A%p\n" |
               sort -n |
               tail -n1 |
               cut -d: -f2- )
    touch -r "${newest:-timestamp}" timestamp

which is missing an "@" character after the "%A".

Definitely missing in version 4.8.0 which I've got installed. Also missing at https://www.gnu.org/software/findutils/manual/html_node/find_html/Updating-A-Timestamp-File.html#Using-_002dprintf-and-sort-to-compare-timestamps, so I assume it's not fixed in the most recent release.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by berny (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-02-01 berny StatusNone Duplicate
        Assigned toNone berny
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.9.0

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code