bug with ls command, doesn't list only a single directory.

Bug #1817052 reported by VIcente Palacios Barrera
6
This bug affects 1 person
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
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
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-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
VIcente Palacios Barrera (centovg) wrote :
Revision history for this message
Charles Evans (crtiger) wrote :

Did you mean ls -1?
ls -l is long listing,
does not start with filename,
Example can't work as written

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.