** Description changed:

  As we know, command "look" display lines beginning with a given string,
  and the lines are from file "/usr/share/dict/words" by default.
  
  Problem is
-  - if we run "look a" or "look b", the result only contains words beginning 
with upper-A or upper-B.
-  - if we run "look" for [c-z] like "look c", the result only contains words 
beginning with lower-[c-z].
+  - if we run "look a" or "look b", the result only contains words beginning 
with upper-A or upper-B.
+  - if we run "look" for [c-z] like "look c", the result only contains words 
beginning with lower-[c-z].
  
  Eg1:
-     $ look a | tail
-     Azores's
-     Azov
-     Azov's
-     Aztec
-     Aztecan
-     Aztecan's
-     Aztec's
-     Aztecs
-     Aztlan
-     Aztlan's
+     $ look a | tail
+     Azores's
+     Azov
+     Azov's
+     Aztec
+     Aztecan
+     Aztecan's
+     Aztec's
+     Aztecs
+     Aztlan
+     Aztlan's
  
  Eg2:
-     $ look c | head
-     c
-     ca
-     cab
-     cabal
-     cabal's
-     cabals
-     cabana
-     cabana's
-     cabanas
-     cabaret
+     $ look c | head
+     c
+     ca
+     cab
+     cabal
+     cabal's
+     cabals
+     cabana
+     cabana's
+     cabanas
+     cabaret
  
  As a result, "look b" never finds "byte", and "look c" never finds
- "cpu".
+ "CPU".
  
  Please kindly check.
  Thanks!
  
  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: util-linux 2.37.2-4ubuntu3
  ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
  Uname: Linux 5.19.0-43-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.4
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Jun  2 10:06:16 2023
  InstallationDate: Installed on 2022-09-29 (245 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: util-linux
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
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/2022255

Title:
  Command "look" misses some matched words

Status in util-linux package in Ubuntu:
  New

Bug description:
  As we know, command "look" display lines beginning with a given
  string, and the lines are from file "/usr/share/dict/words" by
  default.

  Problem is
   - if we run "look a" or "look b", the result only contains words beginning 
with upper-A or upper-B.
   - if we run "look" for [c-z] like "look c", the result only contains words 
beginning with lower-[c-z].

  Eg1:
      $ look a | tail
      Azores's
      Azov
      Azov's
      Aztec
      Aztecan
      Aztecan's
      Aztec's
      Aztecs
      Aztlan
      Aztlan's

  Eg2:
      $ look c | head
      c
      ca
      cab
      cabal
      cabal's
      cabals
      cabana
      cabana's
      cabanas
      cabaret

  As a result, "look b" never finds "byte", and "look c" never finds
  "CPU".

  Please kindly check.
  Thanks!

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: util-linux 2.37.2-4ubuntu3
  ProcVersionSignature: Ubuntu 5.19.0-43.44~22.04.1-generic 5.19.17
  Uname: Linux 5.19.0-43-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.4
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Jun  2 10:06:16 2023
  InstallationDate: Installed on 2022-09-29 (245 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  SourcePackage: util-linux
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/2022255/+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

Reply via email to