Anonymous | Login | 2024-10-15 00:09 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0001777 | [Issue 8 drafts] Shell and Utilities | Objection | Error | 2023-09-29 15:32 | 2024-06-11 09:12 | ||
Reporter | stephane | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted As Marked | ||||
Status | Closed | Product Version | Draft 3 | ||||
Name | Stephane Chazelas | ||||||
Organization | |||||||
User Reference | |||||||
Section | find utility EXAMPLES | ||||||
Page Number | 2923 | ||||||
Line Number | 97767 and below | ||||||
Final Accepted Text | See Note: 0006591. | ||||||
Summary | 0001777: inaccuracy in find example 10 | ||||||
Description | On example 10: -size +199999 yields true for files whose size round up to an integer number of 512 byte units is strictly greater than 199999 so that's for files that are 199999*512+1 bytes or larger, not "100000 KiB or larger". | ||||||
Desired Action |
Either change the code to -size +200000 and the text to "for files of size larger than 100000KiB" or keep the text and change the code to -size +102399999c or to '(' -size 200000 -o -size +200000 ')' or ! -size -200000 |
||||||
Tags | applied_after_i8d3, tc3-2008 | ||||||
Attached Files | |||||||
|
Relationships | |||||||
|
Notes | |
(0006493) stephane (reporter) 2023-09-29 15:37 |
Sorry, those "or to '(' -size 200000 -o -size +200000 ')' or ! -size -200000" are equally wrong, please ignore that part. |
(0006494) stephane (reporter) 2023-09-29 15:42 edited on: 2023-09-29 15:45 |
Looks like I'm to blame for this issue as my comment on issue:1259 (Note: 0004423) was incorrect (for -mtime, the numbers are rounded down, but for -size, they are rounded up). So this bug is about reverting the corresponding change in issue:1259 |
(0006591) Don Cragun (manager) 2023-11-27 16:13 edited on: 2023-11-27 16:27 |
Change on P2924 line 97768 (find EXAMPLES):searches the file hierarchy for files of size 100 000 KiB or largerto: searches the file hierarchy for files of size larger than 100 000 KiB Change on P2924, L97770 (find EXAMPLES): <pr>find / -path /media -prune -o -size +199999 -print</pr>to: <pr>find / −path /media −prune −o −size +200000 −print</pr> |
Issue History | |||
Date Modified | Username | Field | Change |
2023-09-29 15:32 | stephane | New Issue | |
2023-09-29 15:32 | stephane | Name | => Stephane Chazelas |
2023-09-29 15:32 | stephane | Section | => find utility EXAMPLES |
2023-09-29 15:32 | stephane | Page Number | => 2923 |
2023-09-29 15:32 | stephane | Line Number | => 97767 and below |
2023-09-29 15:37 | stephane | Note Added: 0006493 | |
2023-09-29 15:42 | stephane | Note Added: 0006494 | |
2023-09-29 15:45 | stephane | Note Edited: 0006494 | |
2023-11-27 16:12 | Don Cragun | Status | New => Resolved |
2023-11-27 16:12 | Don Cragun | Resolution | Open => Accepted As Marked |
2023-11-27 16:13 | Don Cragun | Note Added: 0006591 | |
2023-11-27 16:19 | nick | Relationship added | related to 0001259 |
2023-11-27 16:27 | Don Cragun | Note Edited: 0006591 | |
2023-11-27 16:28 | Don Cragun | Final Accepted Text | => See Note: 0006591. |
2023-11-27 16:32 | Don Cragun | Tag Attached: tc3-2008 | |
2023-12-07 14:12 | geoffclare | Status | Resolved => Applied |
2023-12-07 14:12 | geoffclare | Tag Attached: applied_after_i8d3 | |
2024-06-11 09:12 | agadmin | Status | Applied => Closed |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |