The following issue has been SUBMITTED. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1792 
====================================================================== 
Reported By:                Don Cragun
Assigned To:                
====================================================================== 
Project:                    Issue 8 drafts
Issue ID:                   1792
Category:                   Shell and Utilities
Type:                       Clarification Requested
Severity:                   Comment
Priority:                   normal
Status:                     New
Name:                       Don Cragun 
Organization:                
User Reference:              
Section:                    find utility example 7 
Page Number:                2924 
Line Number:                97746-97749 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2023-12-18 18:40 UTC
Last Modified:              2023-12-18 18:40 UTC
====================================================================== 
Summary:                    Example 7 needs to use find's -H option
Description: 
This issue was originally raised by Stéphane Chazelas in
https://austingroupbugs.net/view.php?id=1776, but
was not addressed in the resolution to that bug.

With -L/-H, the behaviour is consistent across implementations as stat() is
performed on all files.

In any case, the example at line 97747 is incorrect without -H/-L as test's
-nt compares files after symlink resolution (also note that the behaviour
varies across test implementations when operand cannot be stat()ed).
Desired Action: 
Fix the example at line 97747 to use -H, and maybe add a "provided both
file1 and file2 are accessible".
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2023-12-18 18:40 Don Cragun     New Issue                                    
2023-12-18 18:40 Don Cragun     Name                      => Don Cragun      
2023-12-18 18:40 Don Cragun     Section                   => find utility
example 7
2023-12-18 18:40 Don Cragun     Page Number               => 2924            
2023-12-18 18:40 Don Cragun     Line Number               => 97746-97749     
======================================================================


  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to