[bug #64816] support ls' --quoting-style= option

2024-05-19 Thread James Youngman
Update of bug #64816 (group findutils): Severity: 3 - Normal => 2 - Minor ___ Reply to this item at: ___ Mess

[bug #64816] support ls' --quoting-style= option

2023-10-29 Thread Christoph Anton Mitterer
Follow-up Comment #7, bug #64816 (project findutils): > well, you were asking for a GNU extension as well ... Arguably, but at least in the GNU world, there is only one find implementation used (though there are other program like fd, which do something similar), while there are many different s

[bug #64816] support ls' --quoting-style= option

2023-10-29 Thread Bernhard Voelker
Follow-up Comment #6, bug #64816 (project findutils): P.S. I can see the need to continue processing in subsequent shell loops, and the problem is on the receiving side to take over arguments from NUL-separated input. Meanwhile the problem seem to be solved there already: $ ls -1 ''

[bug #64816] support ls' --quoting-style= option

2023-10-28 Thread Bernhard Voelker
Follow-up Comment #5, bug #64816 (project findutils): > [...] most of the POSIX shell and utilities have no support for printing or reading NUL delimited, it's only GNU extensions [...] well, you were asking for a GNU extension as well ... But back to the requirement. Of course, we can suggest

[bug #64816] support ls' --quoting-style= option

2023-10-28 Thread Christoph Anton Mitterer
Follow-up Comment #4, bug #64816 (project findutils): > Actually, NUL-terminated processing is the safest way of > file name processing with tools in shells Yes, but most of the POSIX shell and utilities have no support for printing or reading NUL delimited, it's only GNU extensions (well there

[bug #64816] support ls' --quoting-style= option

2023-10-28 Thread Bernhard Voelker
Follow-up Comment #3, bug #64816 (project findutils): > [...] shells don't work very well with NULL delimited output. I'm not sure I follow this statement. Actually, NUL-terminated processing is the safest way of file name processing with tools in shells, because the NUL character is the only o

[bug #64816] support ls' --quoting-style= option

2023-10-26 Thread Christoph Anton Mitterer
Follow-up Comment #2, bug #64816 (project findutils): Oh and just for the records: If I'm not mistaken, bash's implementation of `%q` in its `printf` builtin can be found at: https://github.com/bminor/bash/blob/ec8113b9861375e4e17b3307372569d429dec814/builtins/printf.def#L595-L644 with the actua

[bug #64816] support ls' --quoting-style= option

2023-10-26 Thread Christoph Anton Mitterer
Follow-up Comment #1, bug #64816 (project findutils): Maybe it would also make sense to add the same functionality to xargs. The idea is, that (POSIX compatible) shells don't work very well with NULL delimited output. If some program produces such, it's output could be piped into xargs -0 ... an

[bug #64816] support ls' --quoting-style= option

2023-10-25 Thread Christoph Anton Mitterer
URL: Summary: support ls' --quoting-style= option Group: findutils Submitter: calestyo Submitted: Thu 26 Oct 2023 02:56:27 AM UTC Category: documentation Sever