Am 2007-09-24 02:44:13, schrieb Eric d'Alibut:
> On 9/24/07, Ron Johnson <[EMAIL PROTECTED]> wrote:
>
> > Jeez, this has been a bad computer day for me.
>
> > ls listings are just like Steve's.
>
> I'm back to my figment of the imagination idea: this phantom
> dirs-first ls listing is a delusion
On 9/24/07, Ron Johnson <[EMAIL PROTECTED]> wrote:
> Jeez, this has been a bad computer day for me.
> ls listings are just like Steve's.
I'm back to my figment of the imagination idea: this phantom
dirs-first ls listing is a delusion produced by too much mc use.
--
No no no, my fish's name is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 09/23/07 16:11, s. keeling wrote:
> Eric d'Alibut <[EMAIL PROTECTED]>:
>> On 9/23/07, Ron Johnson <[EMAIL PROTECTED]> wrote:
>>
namely, an 'ls' that sorts directories first, and
ordinary files afterwards? Do others actually see that behav
Eric d'Alibut <[EMAIL PROTECTED]>:
> On 9/23/07, Ron Johnson <[EMAIL PROTECTED]> wrote:
>
> > > namely, an 'ls' that sorts directories first, and
> > > ordinary files afterwards? Do others actually see that behaviour in
> > > terminals?
>
> > Sure. That's how it works for me.
Not for me. I ge
On 09/23/2007 03:05 PM, Eric d'Alibut wrote:
[...]
Do you have LS_OPTIONS set, or 'ls' aliased?
I apologize for suggesting that aliasing ls to 'ls -X' would give the
behavior you want; it does not (but it comes close).
I've never seen ls sort directory names first.
If I may make so bold a
On 9/23/07, Ron Johnson <[EMAIL PROTECTED]> wrote:
> > namely, an 'ls' that sorts directories first, and
> > ordinary files afterwards? Do others actually see that behaviour in
> > terminals?
> Sure. That's how it works for me.
> $ locale
> LANG=
> LANGUAGE=en_US:en_GB:en
> LC_CTYPE="POSIX"
> L
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 09/23/07 00:49, Eric d'Alibut wrote:
> On 9/22/07, Benjamin A'Lee <[EMAIL PROTECTED]> wrote:
>
>> Do 'printenv | grep LC_COLLATE' or 'locale' show the right setting?
>
> I am beginning to think I am a victim of my addled pate. Have I been
> using
On 9/22/07, Benjamin A'Lee <[EMAIL PROTECTED]> wrote:
> Do 'printenv | grep LC_COLLATE' or 'locale' show the right setting?
I am beginning to think I am a victim of my addled pate. Have I been
using midnight commander too much? Am I looking for a fig newton of my
imagination, namely, an 'ls' that
On 09/22/2007 05:53 PM, Eric d'Alibut wrote:
Last night I installed, and then removed, the ftpd and proftpd debs,
in that order. Now I cannot by hook or crook get 'ls' to behave as it
did before those ftp experiments. 'ls' now sorts strictly by filename
-- including directories -- so that the lat
Eric d'Alibut <[EMAIL PROTECTED]>:
> Last night I installed, and then removed, the ftpd and proftpd debs,
Glad I don't use 'em.
> in that order. Now I cannot by hook or crook get 'ls' to behave as it
> did before those ftp experiments. 'ls' now sorts strictly by filename
> -- including direct
On Sat, Sep 22, 2007 at 06:53:57PM -0400, Eric d'Alibut wrote:
> Last night I installed, and then removed, the ftpd and proftpd debs,
> in that order. Now I cannot by hook or crook get 'ls' to behave as it
> did before those ftp experiments. 'ls' now sorts strictly by filename
> -- including direct
The environment variables LANG and LC_COLLATE control sort order and regex
pattern matching expansion.
See files: /etc/environment and possibly /etc/profile (if edited...)
LC_COLLATE is set via LANG (or LANGUAGE) unless overridden via the shell.
Use the command "locale" to see the current values.
On Mon, 16 Oct 2006 21:11:12 -0500, cothrige wrote:
> * Ben Breslauer ([EMAIL PROTECTED]) wrote:
>> T wrote:
>> >Hi
>> >
>> >I am using Debian testing, I read that the ls is able to sort
>> >alphabetically, but mixes uppercase and lowercase together i.e. 'Pearl'
>> >comes before 'pearl' but after
* Ben Breslauer ([EMAIL PROTECTED]) wrote:
> T wrote:
> >Hi
> >
> >I am using Debian testing, I read that the ls is able to sort
> >alphabetically, but mixes uppercase and lowercase together i.e. 'Pearl'
> >comes before 'pearl' but after 'otter'.
> >
> >otter
> >Pearl
> >pearl
> >
> >I want that be
On 2006-10-17 06:11:59 +0400, Rad wrote:
> I think there're unicode.
This is not directly related to Unicode (this also happens with
ISO8859-1), but to a language.
> Try this:
>
> export LC_COLLATE=C
and this will also fix the hyphen-minus problem:
vin:~> printf '%s\n' 1-2 1-3 12 13 | LC_COLLA
I think there're unicode. Try this:
export LC_COLLATE=C
T wrote:
Hi
I am using Debian testing, I read that the ls is able to sort
alphabetically, but mixes uppercase and lowercase together i.e. 'Pearl'
comes before 'pearl' but after 'otter'.
otter
Pearl
pearl
I want that behavior. How can I do that, instead of the traditional order?
I'm using tes
Eric d'Alibut wrote:
On 9/14/06, Derek Martin <[EMAIL PROTECTED]> wrote:
> Is this some utf-8 mutation?
Yup. If you want the old behavior, use this:
export LC_COLLATE=C
Bingo. Thank you sir!
Thank You! I could deal with the case-insensitive sort, but what really
annoyed me was hidden
On 9/14/06, Derek Martin <[EMAIL PROTECTED]> wrote:
> Is this some utf-8 mutation?
Yup. If you want the old behavior, use this:
export LC_COLLATE=C
Bingo. Thank you sir!
--
No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am
not a looney! Why should I be tarred with the
On Thu, Sep 14, 2006 at 01:01:25PM -0400, Eric d'Alibut wrote:
> I just noticed on a brand new install of testing that ls has begun to
> sort alphabetically, but mixes uppercase and lowercase together i.e.
> 'Pearl' comes before 'pearl' but after 'otter'.
[...]
> A stable Debian version I maintain
>
> What about "ls -d */" ?
>
ls -d .*/ */for hidden directories
Hello fellows,
On Mon, Oct 15, 2001 at 10:06:50PM +, andrej hocevar wrote:
> hi jesper,
...
> written. my beginner's try was simply "ls | grep "/"" which gives
> the right result. but how do i make it print the result in columns?
What about "ls -d */" ?
>
> andrej
Cheers,
--
Serafim Zani
[ I missed the original, but here's some comments anyways ]
| On Sun, Oct 14, 2001 at 12:58:56PM +0200, Jesper Holmberg wrote:
| > * On Sun Oct 14, Daniel Jones wrote:
| > >
| > > I'm going to feel silly if this is as easy as it seems like
| > > it should be but after poring over the man pages I
hi jesper,
your reply -- and even more the question you were replying to --
made me curious. i wanted to try it out. even though your command
works i wanted to define it myself from scratch -- because it's a
good way to learn and second because i don't understand all you've
written. my beginner's t
Hi Daniel,
I don't think this is possible with the the ls options. I use a function
specified in my /etc/profile:
ll () {
ls -l --color=always "$@"|grep ^d |cat
ls -l --color=always "$@"|egrep -v "^d|total\ [0-9]" |cat
}
This works like ls -l, but first gives directories, then other files.
25 matches
Mail list logo