bug-bash
[Top][All Lists]
Advanced

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

Re: tab completion sort by modification time


From: kamaraju kusumanchi
Subject: Re: tab completion sort by modification time
Date: Wed, 31 Dec 2014 23:35:48 -0500

On Fri, Dec 26, 2014 at 7:48 AM, Greg Wooledge <wooledg@eeg.ccf.org> wrote:
> On Thu, Dec 25, 2014 at 12:34:08AM -0500, kamaraju kusumanchi wrote:
>> I would like to request a new feature in bash.
>>
>> When doing a tab completion inside a directory, I would like the files
>> to be listed in the order of modification time (similar to ls -rt).
>
> I think there would be a larger general interest if this were expanded
> to a shopt that affects the ordering of globs as well.  It's pretty
> common for people in #bash to ask for a script that will return the
> oldest file (or newest file, or oldest 10 files, etc.) in a directory.
> Doing this right now is possible (using [[ $file1 -ot $file2 ]] in a
> loop) but awkward, particularly if you want more than one file.

Cool! Thanks for your reply Greg. So it is obvious that there are
others who would like to see this feature implemented.

How are the feature requests tracked for bash? Is it enough to send
the email to this list or should I have to create an item at
https://savannah.gnu.org/support/?group=bash&func=browse&set=open ?

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/



reply via email to

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