bug with ls command, doesn't list only a single directory.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
If is the only one which starts with an specified letter, won't show it with grep. Example: if there is only a directory starting with 'w', ls -l | grep ^[w] won't show it. With ls -l w* happens the same problem. I think you should check.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: bash 4.4.18-2ubuntu1
ProcVersionSign
Uname: Linux 4.15.0-43-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Feb 21 12:37:04 2019
ExecutablePath: /bin/bash
InstallationDate: Installed on 2019-01-13 (38 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
LANG=es_ES.UTF-8
SHELL=/bin/bash
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install)
Did you mean ls -1?
ls -l is long listing,
does not start with filename,
Example can't work as written