[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
The same behavior can be seen in Ubuntu 23.04. The look command requires a sorted file. If no argument is given /usr/share/dict/words is used as default file and the f flag is set. /usr/share/dict/words is sorted with upper case preceding lower case. But when the f flag is set a sort ignoring case is assumed. So the command look works as documented. It is simply that the sort sequence of /usr/share/dict/words does not match what look needs. You can create your own wordlist, sort it to your needs, and point environment variable WORDLIST to it. $ cat /usr/share/dict/american-english | sort > foo $ WORDLIST=foo look accicent accident accidental accidentally accidental's accidentals accident's accidents I would suggest not to change anything in util-linux. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Confirmed Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
The --dictionary-order option must be given to "sort" as described in; https://github.com/util-linux/util- linux/issues/1493#issuecomment-1139358186 Um, will you *ever* fix this? I am using the work-around with $WORDLIST, and it works fine, but IMO I shouldn't have to. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Confirmed Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
** Changed in: util-linux (Ubuntu Jammy) Status: Triaged => Won't Fix ** Changed in: util-linux (Ubuntu) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Won't Fix Status in util-linux source package in Jammy: Won't Fix Status in util-linux source package in Lunar: Won't Fix Status in util-linux package in Debian: Confirmed Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
Ubuntu 23.04 (Lunar Lobster) has reached end of life, so this bug will not be fixed for that specific release. ** Changed in: util-linux (Ubuntu Lunar) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Triaged Status in util-linux source package in Jammy: Triaged Status in util-linux source package in Lunar: Won't Fix Status in util-linux package in Debian: Confirmed Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
Thank you for your bug report. Indeed it seems buggy but the description isn't accurate since using it with 'keyboard' works as expected ** Changed in: util-linux (Ubuntu) Status: New => Confirmed ** Changed in: util-linux (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Confirmed Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
could be the same issue than https://github.com/util-linux/util- linux/issues/1493 ** Bug watch added: github.com/util-linux/util-linux/issues #1493 https://github.com/util-linux/util-linux/issues/1493 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Confirmed Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
Curiously some words starting with b seem fine: $ look butter butter buttercup buttercup's buttercups buttered butterfat .. ** Tags added: rls-jj-incoming -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Confirmed Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
** Tags removed: rls-jj-incoming -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Confirmed Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
There seems to be something wrong with the way the ignore-case option is handled: -f, --ignore-case fold lower case to upper case characters The option is enabled by default when running `look ` and the only way to disable it is to specify the wordlist as the next positional parameter. ``` $ look accident > KO (-f is enabled by default) $ look accident /usr/share/dict/words accident accidental accidentally accidental's accidentals accident's accidents > OK (-f is not enabled) $ look -f accident /usr/share/dict/words > KO ``` Also, look was provided by bsdmainutils (i.e., src:bsdmainutils) in focal but bsdextrautils (i.e., src:util-linux) in impish/jammy. This is a different implemention. I wonder if the assumption on the sorting order or the dictionary is the same. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Confirmed Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
** Tags added: rls-jj-incoming -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Confirmed Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
** Changed in: util-linux (Ubuntu) Importance: Low => Medium ** Tags added: regression-release ** Bug watch added: Debian Bug tracker #973471 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973471 ** Also affects: util-linux (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973471 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Confirmed Status in util-linux package in Debian: Unknown Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
** Tags removed: regression-release rls-jj-incoming ** Tags added: foundations-todo -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Confirmed Status in util-linux package in Debian: Unknown Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
** Changed in: util-linux (Ubuntu) Status: Confirmed => Triaged ** Also affects: util-linux (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: util-linux (Ubuntu Lunar) Importance: Undecided Status: New ** Changed in: util-linux (Ubuntu Jammy) Status: New => Triaged ** Changed in: util-linux (Ubuntu Lunar) Status: New => Triaged ** Changed in: util-linux (Ubuntu Jammy) Importance: Undecided => Medium ** Changed in: util-linux (Ubuntu Lunar) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Triaged Status in util-linux source package in Jammy: Triaged Status in util-linux source package in Lunar: Triaged Status in util-linux package in Debian: Unknown Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
** Changed in: util-linux (Debian) Status: Unknown => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Triaged Status in util-linux source package in Jammy: Triaged Status in util-linux source package in Lunar: Triaged Status in util-linux package in Debian: Confirmed Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
** Changed in: util-linux (Ubuntu) Assignee: (unassigned) => Pragyansh Chaturvedi (r41k0u) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Won't Fix Status in util-linux source package in Jammy: Won't Fix Status in util-linux source package in Lunar: Won't Fix Status in util-linux package in Debian: Confirmed Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1971425] Re: The "look" cli dictionary only sees capitalized words
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 Touch seeded packages, which is subscribed to util-linux in Ubuntu. https://bugs.launchpad.net/bugs/1971425 Title: The "look" cli dictionary only sees capitalized words Status in util-linux package in Ubuntu: Won't Fix Status in util-linux source package in Jammy: Won't Fix Status in util-linux source package in Lunar: Won't Fix Status in util-linux package in Debian: Confirmed Bug description: In Ubuntu 20.04; ~ > look accident accident accident's accidental accidental's accidentally accidentals accidents In Ubuntu 22.04; ~ > look accident (nothing) ~ > look acc Accenture Accenture's Accra Accra's Digging deeper; the dictionary at /usr/share/dict/words seems OK. If I copy the "look" binary from Ubuntu 20.04 and use it on Ubuntu 22.04 it works; ~ > ./look accident accident accidental accidentally accidental's accidentals accident's accidents ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: bsdextrautils 2.37.2-4ubuntu3 ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30 Uname: Linux 5.15.0-27-generic x86_64 ApportVersion: 2.20.11-0ubuntu82 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: XFCE Date: Tue May 3 14:19:57 2022 InstallationDate: Installed on 2018-09-07 (1334 days ago) InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725) SourcePackage: util-linux UpgradeStatus: Upgraded to jammy on 2022-05-01 (2 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1971425/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp