Hi Turns out that util-linux is working as described in its manpage. I tried with the older implementation (bsdmainutils) too and the same issue persists. So the root cause is the default wordlist. "look" expects the default wordlist to be sorted in a case-insensitive manner (which it was earlier) but now it is sorted in the ASCII order. We can: - Request the maintainers of wordlist to revert the way they sort the words (atleast wamerican) - Supply our own wordlists to specifically make "look" work, but this will need to be in all supported languages and the default wordlist would change based on the locale of the user - run a sort everytime (or better, the first time - but we will have to track change in locales) "look" is used in the default way.
Since the first two options are overkill for this, and the last option can be easily done by the user (sort the exisiting /usr/share/dict/words, save as another file, set that as the WORDLIST env) than requiring a change in the util-linux package, I have moved this bug to "Won't Fix" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs