[bug #62043] The xargs -r, --no-run-if-empty Option Is Ignored When a Delimiter Is Passed

2022-02-23 Thread Andreas Metzler
Follow-up Comment #7, bug #62043 (project findutils): [comment #5 comment #5:] by Jay > [comment #4 comment #4:] Andreas writes: >> OTOH I am trying to fix the documentation of xargs' >> inconsistent behavior, imho these two commands should produce >> identical output both for consistency reasons

[bug #62043] The xargs -r, --no-run-if-empty Option Is Ignored When a Delimiter Is Passed

2022-02-23 Thread Stephane Chazelas
Follow-up Comment #6, bug #62043 (project findutils): [comment #4 comment #4:] [...] > OTOH I am trying to fix the documentation of xargs' inconsistent behavior, imho these two commands should produce identical output both for consistency reasons and according to the documentation but do not: > pr

[bug #62043] The xargs -r, --no-run-if-empty Option Is Ignored When a Delimiter Is Passed

2022-02-23 Thread James Youngman
Follow-up Comment #5, bug #62043 (project findutils): Andreas writes: OTOH I am trying to fix the documentation of xargs' inconsistent behavior, imho these two commands should produce identical output both for consistency reasons and according to the documentation but do not: printf '\n' | xargs

[bug #62043] The xargs -r, --no-run-if-empty Option Is Ignored When a Delimiter Is Passed

2022-02-23 Thread Andreas Metzler
Follow-up Comment #4, bug #62043 (project findutils): [comment #3 comment #3:] by Stephane Chazelas > The point is that with -d '\n' an input that contains one > newline character has one empty record, and one with two > newlines has 2 empty records and so on. > With -0, an input with one newline

[bug #59988] Documentation for the find command omits -printf %{A, T, C}z

2022-02-23 Thread Stephane Chazelas
Follow-up Comment #1, bug #59988 (project findutils): The doc says (emphasis mine): > 3.2.3 Time Formats > > Below is an *incomplete* list of formats for the directives '%A', '%C', > and '%T', which print the file's timestamps. *Please refer to the* > *documentation of 'strftime' for the full l

[bug #62043] The xargs -r, --no-run-if-empty Option Is Ignored When a Delimiter Is Passed

2022-02-23 Thread Stephane Chazelas
Follow-up Comment #3, bug #62043 (project findutils): The point is that with -d '\n' an input that contains one newline character has one empty record, and one with two newlines has 2 empty records and so on. With -0, an input with one newline character optionally followed by a NUL has one record

[bug #62089] find -size -1024k different from -size -1M

2022-02-23 Thread Stephane Chazelas
Follow-up Comment #3, bug #62089 (project findutils): That's an extension on the standard POSIX behaviour. c is the only suffix supported by POSIX find -size. Without suffix, the unit is 512 byte blocks (formerly commonly known as sectors). -size n: matches on files whose size rounded up to the n