emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#22351: closed (ls doesn't seem to match space in f


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#22351: closed (ls doesn't seem to match space in filename)
Date: Mon, 11 Jan 2016 19:39:02 +0000

Your message dated Mon, 11 Jan 2016 11:38:40 -0800
with message-id <address@hidden>
and subject line Re: bug#22351: ls doesn't seem to match space in filename
has caused the debbugs.gnu.org bug report #22351,
regarding ls doesn't seem to match space in filename
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
22351: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22351
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: ls doesn't seem to match space in filename Date: Mon, 11 Jan 2016 11:56:16 -0500 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 Apologies if this already has been noted elsewhere or is for some reason a desired behavior, but it seems that ls doesn't behave as expected when matching spaces with globbing. For example, if I have the files "foo", "foo1" and "foo bar" in my directory, a call to

ls foo*

yields only foo and foo1. However, a call to ls "foo "* yields "foo bar" (sans quotes) as expected.

My understanding is that * is supposed to match any characters (except an initial . in *foo).

I'm not sure if it's an actual bug or anyone cares, but I decided to reported it on the off chance that it is.

Platform:
    Ubuntu 15.10,  4.2.0-16-generic
    ls  v. 8.23
zsh 5.1.1 (but also confirmed same behavior under bash 4.3.42(1)-release)

Cheers,
Ken




--- End Message ---
--- Begin Message --- Subject: Re: bug#22351: ls doesn't seem to match space in filename Date: Mon, 11 Jan 2016 11:38:40 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
On 01/11/2016 10:10 AM, address@hidden wrote:
I agree that the shell does seem the most likely culprit.

OK, thanks, I'll mark the bug as "done" for now as far as coreutils is concerned; we can always unmark it later if it really is an "ls" bug.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]