bug-coreutils
[Top][All Lists]
Advanced

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

Re: wish of adding


From: Eric Blake
Subject: Re: wish of adding
Date: Tue, 10 Feb 2009 06:03:23 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to address@hidden on 2/9/2009 10:51 PM:

Hello Oliver,

> I know it's not the correct adress to send any request but the man ls
> don't give any other one.

This is the correct place.

> By using ls command, i found this option : ls --group-directories-first
> this one is very usefull for me (much clearer). But i never remember the
> text to enter so i have to check the man ls each time. I don't find any
> short name for the option as others.

Long options can be abbreviated if unambiguous, so these are (currently)
equivalent, since no other long option starts with g:

ls --group-directories-first
ls --g

Furthermore, you can write a shell alias or function to automate your
favorite settings.  For example, my .bashrc has:

alias ls='ls --color=auto -F'

(you may want to refer to a local Unix users group or better online forum
for help in writing shell aliases/functions for your shell of choice;
particularly if you use tcsh instead of bash)

> 
> My request i, is it possible to add a short name for this option ?

Unfortunately, no.  There are too many options and not enough letters for
every long option in 'ls' to be given a short letter; we prefer to use the
precious resource only for things that have been standardized or which are
pre-existing practice in other implementations of ls.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmRexsACgkQ84KuGfSFAYAFOgCePnIXVUbx7RHC+ms1L3YGGlgW
CEEAoKnFsuuBzGgnvZ3oHjyreZG+lOAt
=zqxq
-----END PGP SIGNATURE-----




reply via email to

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