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 |
|
|