Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16699

Re: Expand first before asking the question "Display all xxx possibilities?"

From Chris Elvidge <celvidge001@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Expand first before asking the question "Display all xxx possibilities?"
Date 2020-08-05 20:21 +0100
Message-ID <mailman.927.1596655321.2739.bug-bash@gnu.org> (permalink)
References <871rkoslni.5.fsf@jidanni.org> <f507d245-af9c-3c41-9c19-acff9735e703@case.edu> <rgf0sa$c3f$1@ciao.gmane.io>

Show all headers | View raw


On 05/08/2020 02:55 pm, Chet Ramey wrote:
> On 8/2/20 6:55 PM, 積丹尼 Dan Jacobson wrote:
>> Instead of
>>
>> $ zz /jidanni_backups/da<TAB>
>> Display all 113 possibilities? (y or n) n
>>
>> and then finally showing
>>
>> $ zz /jidanni_backups/dan_home_bkp
>>
>> how about doing the expansion first, so entering
>> $ zz /jidanni_backups/da<TAB> would then change into
 >> $ zz /jidanni_backups/dan_home_bkp with below it the question
 >> Display all 113 possibilities? (y or n)

What happens if you have:
dan_home-bkp, dan_home_nobkp, dan-home-bkp, dan-nohome-bkp, 
dan_nohome-bkp (etc.) in /jidanni_backups/?
Which do you choose for the first expansion?
> 
> Thanks for the suggestion.
> 


-- 
Chris Elvidge
England

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Expand first before asking the question "Display all xxx possibilities?" Chris Elvidge <celvidge001@gmail.com> - 2020-08-05 20:21 +0100

csiph-web