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

2020-08-07 Thread Chet Ramey
On 8/6/20 10:11 AM, Ilkka Virta wrote: > On 6.8. 15:59, Chet Ramey wrote: >> On 8/6/20 8:13 AM, Ilkka Virta wrote: >>> I think they meant the case where all the files matching the given >>> beginning have a longer prefix in common. The shell expands that prefix to >>> the command line after asking

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

2020-08-06 Thread Ilkka Virta
On 6.8. 15:59, Chet Ramey wrote: On 8/6/20 8:13 AM, Ilkka Virta wrote: I think they meant the case where all the files matching the given beginning have a longer prefix in common. The shell expands that prefix to the command line after asking to show all possibilities. Only if you set the

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

2020-08-06 Thread Chet Ramey
On 8/6/20 8:13 AM, Ilkka Virta wrote: > On 5.8. 22:21, Chris Elvidge wrote: >> On 05/08/2020 02:55 pm, Chet Ramey wrote: >>> On 8/2/20 6:55 PM, 積丹尼 Dan Jacobson wrote: how about doing the expansion first, so entering $ zz /jidanni_backups/da would then change into >>  >> $ zz

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

2020-08-06 Thread Davide Brini
On Thu, 6 Aug 2020 15:13:30 +0300, Ilkka Virta wrote: > I think they meant the case where all the files matching the given > beginning have a longer prefix in common. The shell expands that prefix > to the command line after asking to show all possibilities. > > $ rm * > $ touch

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

2020-08-06 Thread Ilkka Virta
On 5.8. 22:21, Chris Elvidge wrote: On 05/08/2020 02:55 pm, Chet Ramey wrote: On 8/2/20 6:55 PM, 積丹尼 Dan Jacobson wrote: how about doing the expansion first, so entering $ zz /jidanni_backups/da would then change into >> $ zz /jidanni_backups/dan_home_bkp with below it the question >>

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

2020-08-05 Thread Chris Elvidge
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 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

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

2020-08-05 Thread Chet Ramey
On 8/2/20 6:55 PM, 積丹尼 Dan Jacobson wrote: > Instead of > > $ zz /jidanni_backups/da > 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 would then change