Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001792 [Issue 8 drafts] Shell and Utilities Comment Clarification Requested 2023-12-18 18:40 2024-01-22 17:16
Reporter Don Cragun View Status public  
Assigned To
Priority normal Resolution Accepted As Marked  
Status Resolved   Product Version Draft 3
Name Don Cragun
Organization
User Reference
Section find utility example 7
Page Number 2924
Line Number 97746-97749
Final Accepted Text see Note: 0006635
Summary 0001792: Example 7 needs to use find's -H option
Description This issue was originally raised by Stéphane Chazelas in 0001776, 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".
Tags tc1-2024
Attached Files

- Relationships
child of 0001776Closed find -newer any symlinks 

-  Notes
(0006635)
nick (manager)
2024-01-22 17:15

Make the changes suggested, including the addition of "provided both file1 and file2 are accessible" (add after example).

- 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
2023-12-18 18:45 Don Cragun Relationship added child of 0001776
2024-01-22 17:15 nick Note Added: 0006635
2024-01-22 17:16 nick Final Accepted Text => see Note: 0006635
2024-01-22 17:16 nick Status New => Resolved
2024-01-22 17:16 nick Resolution Open => Accepted As Marked
2024-01-22 17:17 nick Tag Attached: tc1-2024


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker