look command prints only words with capital first letter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
util-linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The command /usr/bin/look prints only words that begin with an upper-case letter, even if the search string begins with a lower-case letter.
$ look big
BigQuery
BigQuery's
Bigfoot
Bigfoot's
Biggles
Biggles's
This is incorrect behavior. "look" should also print words like big, bigger, biggest.
$ grep '^big' /usr/share/
bigamist
bigamist's
bigamists
bigamous
...
Adding the -f option does not change the behavior.
Bug reproduced on two different Ubuntu 22.04 systems.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: bsdextrautils 2.37.2-4ubuntu3
ProcVersionSign
Uname: Linux 5.15.0-87-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Wed Oct 25 20:36:39 2023
InstallationDate: Installed on 2020-02-29 (1334 days ago)
InstallationMedia: Kubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
SourcePackage: util-linux
UpgradeStatus: Upgraded to jammy on 2022-12-03 (326 days ago)