ls *[[:digit:]]? --> omits dir names in results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xterm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
ls *[[:digit:]]?
The log will show that when there are one or more FILEs that satisfy the mask in the same working directory as a DIR that satisfies this mask, then there is no error in the results. But if there are no FILEs that satisfy the mask in the same working directory as a DIR which satisfies the mask, then the DIR name is omitted from the results. I would expect to see the DIR name first, then on subsequent rows will be the list of files in the DIR. However, the DIR row is omitted. Just the rows listing the files are displayed.
First result (ls *[[:digit:]]? ):
file33
dir44
fileA fileB fileC
-------
rm file33
-------
Second result (ls *[[:digit:]]? ):
fileA fileB fileC
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xterm 297-1ubuntu1
ProcVersionSign
Uname: Linux 3.16.0-38-generic x86_64
.tmp.unity.
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity
Date: Wed Jun 10 21:51:12 2015
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
ExecutablePath: /usr/bin/xterm
GraphicsCard:
VMware SVGA II Adapter [15ad:0405] (prog-if 00 [VGA controller])
Subsystem: VMware SVGA II Adapter [15ad:0405]
InstallationDate: Installed on 2015-06-06 (4 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: VMware, Inc. VMware Virtual Platform
ProcEnviron:
LANGUAGE=en_US
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xterm
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/31/2013
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 6.00
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.board.version: None
dmi.chassis.
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: VMware Virtual Platform
dmi.product.
dmi.sys.vendor: VMware, Inc.
version.compiz: compiz 1:0.9.11.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.60-
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Wed Jun 10 12:57:57 2015
xserver.configfile: default
xserver.devices:
input Power Button KEYBOARD, id 6
input VMware VMware Virtual USB Mouse MOUSE, id 7
input AT Translated Set 2 keyboard KEYBOARD, id 8
input ImPS/2 Generic Wheel Mouse MOUSE, id 9
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs: Output Virtual2 Virtual3 Virtual4 Virtual5 Virtual6 Virtual7 Virtual8
xserver.version: 2:1.16.
xserver.
The behavior being described here is from the shell (whether bash or something else is unclear).
It is not relevant to xterm.
However, I notice compiz mentioned. Ubuntu has longstanding issues with that invisible- island. net/xterm/ xterm.faq. html#compiz_ bugs). That also
(see http://
is not a problem with xterm.