bug#25078: ls 8.26: discrepancy between `ls' and `ls -1' in the alignment of quoted and nonquoted items

2018-12-13 Thread Zhiming Wang
On Dec 13, 2018, at 3:27 PM, Assaf Gordon wrote: > > We created a summary of common issues and FAQs > regarding the quoting change in ls(1): > https://www.gnu.org/software/coreutils/quotes.html > > If there is an issue that is not addressed there, > please send an email to coreut...@gnu.org

Re: What tricks used in readlink to make it faster than realpath bash loadable?

2018-12-13 Thread Eric Blake
On 12/13/18 3:37 PM, Peng Yu wrote: Hi, `readlink` is faster than `realpath` for a large number of input arguments. Note that the former starts slower than the latter. What tricks is used in readlink to make it faster? Thanks. Why don't you use strace and/or read the code to compare the two

What tricks used in readlink to make it faster than realpath bash loadable?

2018-12-13 Thread Peng Yu
Hi, `readlink` is faster than `realpath` for a large number of input arguments. Note that the former starts slower than the latter. What tricks is used in readlink to make it faster? Thanks. https://github.com/bminor/bash/blob/master/examples/loadables/realpath.c bash> builtin enable -f

bug#33371: RFC: option for numeric sort: ignore-non-numeric characters

2018-12-13 Thread Assaf Gordon
tags 33371 notabug close 33371 stop Hello, On 2018-11-18 6:08 p.m., L A Walsh wrote: On 11/14/2018 12:27 AM, Erik Auerswald wrote: Perhaps --version-sort could work for you? "-V" seems like it might be sufficient, Given the above, I'm closing this item. regards, - assaf

bug#33048: ls wrapping items with spaces in single quotes

2018-12-13 Thread Assaf Gordon
Hello, We created a summary of common issues and FAQs regarding the quoting change in ls(1): https://www.gnu.org/software/coreutils/quotes.html If there is an issue that is not addressed there, please send an email to coreut...@gnu.org . regards, - assaf

bug#33433: Bug in directory listing display

2018-12-13 Thread Assaf Gordon
Hello, On 2018-11-19 10:49 a.m., Brian Hartvigsen wrote: Items with spaces are incorrectly listed surrounded by single quotes. This is problematic for a number of reasons. One of which is that files or directories that contain a mix of quotes in their titles are now displayed incorrectly. This

bug#33577: ls lacks null terminator option

2018-12-13 Thread Assaf Gordon
tags 33577 notabug severity 33577 wishlist retitle 33577 doc: mention find/stat in ls documentation stop Hello, On 2018-12-05 4:39 a.m., 積丹尼 Dan Jacobson wrote: Fine. Put a message on top of (info "(coreutils) ls invocation") saying that your pipes are better. Given the suggested solution

bug#26991: New quoting takes up unnecessary space

2018-12-13 Thread Assaf Gordon
Hello, On 2017-05-19 6:37 p.m., L A Walsh wrote: Pádraig Brady wrote: On 19/05/17 07:48, L A Walsh wrote: The new format uses extra spacing on columns where it isn't needed -- but the extra space isn't enough to handle the 1 file that was quoted (needs 5 extra columns).  Where does it get

bug#33157: QUOTING_STYLE change of default

2018-12-13 Thread Assaf Gordon
Hello, On 2018-10-25 3:45 p.m., Arvid Requate wrote: after updating to Debian buster I had the impression that my eyes are failing on me. This posting pretty much summarizes my opinion: http://lists.gnu.org/archive/html/coreutils/2016-02/msg1.html especially the first paragraph: We

bug#31353: ls unexpectedly quoting filenames

2018-12-13 Thread Assaf Gordon
Hello, On 2018-05-02 8:38 p.m., billy noah wrote: In a clean installation of Ubuntu 18.04 suddenly ls has defaulted to quoting filenames with tilde ~, spaces and other characters which may require escaping. Some extended discussion can be found here:

bug#25388: Bug in ls, kills existing scripts reading "ls" -1 as input

2018-12-13 Thread Assaf Gordon
Hello, 'ls' did not recently add any more cases where tty output differs from non-tty output when all other things are equal in the default state. All that changed was that tty output is formatted differently than it has been in the past. We created a summary of common issues and FAQs

bug#25078: ls 8.26: discrepancy between `ls' and `ls -1' in the alignment of quoted and nonquoted items

2018-12-13 Thread Assaf Gordon
Hello, On 2016-11-30 7:12 p.m., Zhiming Wang wrote: On Nov 30, 2016, at 8:41 PM, Paul Vint wrote: The alignment change is helpful, but I do have an argument against doing the same in the -1 case: It breaks something many of us have done in scripts. It breaks nothing. Quoting and alignment

bug#24926: ls output has been made ugly

2018-12-13 Thread Assaf Gordon
Hello, On 2016-11-12 5:27 a.m., Rüdiger Meier wrote: On Friday 11 November 2016 21:00:23 Eric Blake wrote: On 11/11/2016 12:26 PM, Paul Eggert wrote: Michael Schwager wrote: Don't you think I can see the spaces in my filenames? We created a summary of common issues and FAQs regarding

bug#23896: ls incorrectly shows quotes when listing file names with spaces

2018-12-13 Thread Assaf Gordon
Hello, On 2016-07-05 3:20 a.m., Ruediger Meier wrote: On Monday 04 July 2016, Pádraig Brady wrote: On 04/07/16 19:11, Shamim Islam wrote: Description of problem: Terminal sessions display quotes for files with spaces in them. This is non-intuitive behavior. The file name does not have quotes

bug#22696: ls output changes considered unacceptable

2018-12-13 Thread Assaf Gordon
Hello, On 2016-02-17 9:46 a.m., Mike Hodson wrote: On Tue, Feb 16, 2016 at 6:45 AM, Bernhard Voelker wrote: On 02/16/2016 11:50 AM, Jason A. Donenfeld wrote: [...] We don't want those single quotes. We created a summary of common issues and FAQ regarding the quoting change in ls(1):

bug#22580: shell-escape in tty in ls

2018-12-13 Thread Assaf Gordon
Hello, On 2016-02-07 12:44 a.m., Pádraig Brady wrote: On 06/02/16 20:28, Paul Vint wrote: Maybe I'm the only one, but the new change in ls seems bad: set_quoting_style (NULL, shell_escape_quoting_style); This is set if the output is a TTY. Why would we want to quote if the output is a

bug#33727: File system unrecognized

2018-12-13 Thread Assaf Gordon
Hello, On 2018-12-13 8:18 a.m., Jeroen De Vries wrote: tail: unrecognized file system type 0x794c7630 for '/opt/openhab2/userdata/logs/events.log'. please report this to bug-coreutils@gnu.org. reverting to polling Thank you for the report. This has been fixed in coreutils version 8.25 -

About renameat2() RENAME_EXCHANGE flag and proposal to use it in GNU Coreutils mv

2018-12-13 Thread Juha-Matti Tilli
Hello, (I'm not on the list, so please retain my e-mail address in responses.) Today, I needed an atomic rename or exchange operation for directories. Of these, for understandable reasons, exchange is easier to be implemented by the kernel than rename is. I found that recent Linux has

bug#33727: File system unrecognized

2018-12-13 Thread Jeroen De Vries
tail: unrecognized file system type 0x794c7630 for '/opt/openhab2/userdata/logs/events.log'. please report this to bug-coreutils@gnu.org. reverting to polling running Volumio / raspberry image. Kind regards, Jeroen de Vries

bug#33718: Syntaxe problem? I can't find the solution :-(

2018-12-13 Thread Rudy BROSTEAUX
Hello, Environment: AIX 7.2 TL3 SP1 (on IBM Power Systems) Origin of the coreutils RPM used @release 8.30 is perzl.org Installed using a yum server. *** /root> /usr/bin/time timeout 2.3 sleep 5 timeout: warning: timer_create: Invalid argument real 3.01 user 0.00 sys0.00