GNU bug report logs - #12249
ls unable to list files with latin letters

Previous Next

Package: coreutils;

Reported by: gymka <gymka <at> archlinux.lt>

Date: Tue, 21 Aug 2012 15:37:02 UTC

Severity: normal

Tags: notabug, unreproducible

Done: Bob Proulx <bob <at> proulx.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12249 in the body.
You can then email your comments to 12249 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#12249; Package coreutils. (Tue, 21 Aug 2012 15:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to gymka <gymka <at> archlinux.lt>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 21 Aug 2012 15:37:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: gymka <gymka <at> archlinux.lt>
To: bug-coreutils <at> gnu.org
Subject: not latin letters
Date: Tue, 21 Aug 2012 15:37:13 +0300
[Message part 1 (text/plain, inline)]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

command "ls" not sees folders with not latin letters(in my case with
Lithuanian). eg. there is folder "folderą" command "ls -d" don't sees
it, command "ls" sees it.
- -- 
gymka
GPG ID: 21C70548
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBAgAGBQJQM4D5AAoJEAVeyH4hxwVINdwIAN2mD1ZOkH0R6Gtes0iAAm8+
SPyT5c0OUxVtuzlFLPERuouyg5e+eS5uz4IuqMCAJ5S1rgGkp+ivrChJ9YNtlhoA
/nb7k4fOWYazwsP3LO8mOyjwW6nRMkh4cB7+A2U4LgwnbBG0AinUg8pxYERnWKq+
Ru+qaFyamupHK3SpVRwEdlDZ6oU4ibtciGKiaBNsGKIVELFB7DKkc8bvJeRf61sB
j0HJaMNlBZYKmEV5Bo90JOrN5ZekCtCoEmAx5QlIRAjqikEXSL1Yrn74LA3MDwVm
EasNVecJzjJp9ciNBfqydUfEFBDtBPBjCA00F3lTCP1Hp/ZmJW9ek09EJ9OR2j4=
=8ttx
-----END PGP SIGNATURE-----
[0x21C70548.asc (application/pgp-keys, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#12249; Package coreutils. (Tue, 21 Aug 2012 17:05:01 GMT) Full text and rfc822 format available.

Message #8 received at 12249 <at> debbugs.gnu.org (full text, mbox):

From: Bob Proulx <bob <at> proulx.com>
To: gymka <gymka <at> archlinux.lt>
Cc: 12249 <at> debbugs.gnu.org
Subject: Re: bug#12249: not latin letters
Date: Tue, 21 Aug 2012 11:03:41 -0600
tag 12249 + moreinfo unreproducible
retitle 12249 ls unable to list files with latin letters
thanks

gymka wrote:
> command "ls" not sees folders with not latin letters(in my case with
> Lithuanian). eg. there is folder "folderą" command "ls -d" don't sees
> it, command "ls" sees it.

I cannot reproduce this problem.  It works for me.

  $ mkdir testdir
  $ cd testdir
  $ mkdir folderą
  $ ls
  folderą
  $ ls -d folderą
  folderą
  $ ls -ldog folderą
  drwxrwxr-x 2 4096 Aug 21 11:01 folderą

All of that works as expected.

Please give us more information about the problem.  Please tell us
exactly what you are typing in and the output received.

You may be getting confused about the use of -d.  The FAQ entry on
this may help.  Please see this reference.

  http://www.gnu.org/software/coreutils/faq/#ls-_002dd-does-not-list-directories_0021

Bob




Added tag(s) unreproducible and moreinfo. Request was from Bob Proulx <bob <at> proulx.com> to control <at> debbugs.gnu.org. (Tue, 21 Aug 2012 17:05:02 GMT) Full text and rfc822 format available.

Changed bug title to 'ls unable to list files with latin letters' from 'not latin letters' Request was from Bob Proulx <bob <at> proulx.com> to control <at> debbugs.gnu.org. (Tue, 21 Aug 2012 17:05:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-coreutils <at> gnu.org:
bug#12249; Package coreutils. (Tue, 21 Aug 2012 17:06:01 GMT) Full text and rfc822 format available.

Message #15 received at 12249 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: gymka <gymka <at> archlinux.lt>
Cc: 12249 <at> debbugs.gnu.org
Subject: Re: bug#12249: not latin letters
Date: Tue, 21 Aug 2012 18:05:32 +0100
On 08/21/2012 01:37 PM, gymka wrote:
> command "ls" not sees folders with not latin letters(in my case with
> Lithuanian). eg. there is folder "folderą" command "ls -d" don't sees
> it, command "ls" sees it.

I'm guessing there is not a bug in ls, and instead
a mismatch between input and output char encodings?

Does this output as expected?

ls -d folder*

This is a good way to debug what characters really are:

$ ls -1d folder* | od -Ax -tx1z -v
000000 66 6f 6c 64 65 72 c4 85 0a                       >folder...<

cheers,
Pádraig.




Information forwarded to bug-coreutils <at> gnu.org:
bug#12249; Package coreutils. (Wed, 22 Aug 2012 05:22:01 GMT) Full text and rfc822 format available.

Message #18 received at 12249 <at> debbugs.gnu.org (full text, mbox):

From: gymka <gymka <at> archlinux.lt>
To: Bob Proulx <bob <at> proulx.com>
Cc: 12249 <at> debbugs.gnu.org
Subject: Re: bug#12249: not latin letters
Date: Wed, 22 Aug 2012 08:21:04 +0300
2012.08.21 20:03, Bob Proulx rašė:
> tag 12249 + moreinfo unreproducible
> retitle 12249 ls unable to list files with latin letters
> thanks
> 
> gymka wrote:
>> command "ls" not sees folders with not latin letters(in my case with
>> Lithuanian). eg. there is folder "folderą" command "ls -d" don't sees
>> it, command "ls" sees it.
> 
> I cannot reproduce this problem.  It works for me.
> 
>   $ mkdir testdir
>   $ cd testdir
>   $ mkdir folderą
>   $ ls
>   folderą
>   $ ls -d folderą
>   folderą
>   $ ls -ldog folderą
>   drwxrwxr-x 2 4096 Aug 21 11:01 folderą
> 
> All of that works as expected.
> 
> Please give us more information about the problem.  Please tell us
> exactly what you are typing in and the output received.
> 
> You may be getting confused about the use of -d.  The FAQ entry on
> this may help.  Please see this reference.
> 
>   http://www.gnu.org/software/coreutils/faq/#ls-_002dd-does-not-list-directories_0021
> 
> Bob
> 

looks like i misunderstood use of "-d":) it's my fault.
-- 
gymka
GPG ID: 21C70548




Information forwarded to bug-coreutils <at> gnu.org:
bug#12249; Package coreutils. (Wed, 22 Aug 2012 05:25:02 GMT) Full text and rfc822 format available.

Message #21 received at 12249 <at> debbugs.gnu.org (full text, mbox):

From: Bob Proulx <bob <at> proulx.com>
To: gymka <gymka <at> archlinux.lt>
Cc: 12249 <at> debbugs.gnu.org
Subject: Re: bug#12249: not latin letters
Date: Tue, 21 Aug 2012 23:23:50 -0600
tag 12249 - moreinfo + notabug
close 12249
thanks

gymka wrote:
> looks like i misunderstood use of "-d":) it's my fault.

Thanks for letting us know.  In that case I will close the bug ticket.

Bob




Removed tag(s) moreinfo. Request was from Bob Proulx <bob <at> proulx.com> to control <at> debbugs.gnu.org. (Wed, 22 Aug 2012 05:25:02 GMT) Full text and rfc822 format available.

Added tag(s) notabug. Request was from Bob Proulx <bob <at> proulx.com> to control <at> debbugs.gnu.org. (Wed, 22 Aug 2012 05:25:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 12249 <at> debbugs.gnu.org and gymka <gymka <at> archlinux.lt> Request was from Bob Proulx <bob <at> proulx.com> to control <at> debbugs.gnu.org. (Wed, 22 Aug 2012 05:25:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 19 Sep 2012 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 358 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.