Path: csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Chris Elvidge Newsgroups: gnu.bash.bug Subject: Re: Expand first before asking the question "Display all xxx possibilities?" Date: Wed, 5 Aug 2020 20:21:44 +0100 Lines: 30 Approved: bug-bash@gnu.org Message-ID: References: <871rkoslni.5.fsf@jidanni.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: usenet.stanford.edu 1596655321 23322 209.51.188.17 (5 Aug 2020 19:22:01 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org X-Injected-Via-Gmane: http://gmane.org/ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 Lightning/5.4 In-Reply-To: Content-Language: en-GB Received-SPF: pass client-ip=116.202.254.214; envelope-from=gnu-bug-bash-3@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/05 15:21:54 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 43 X-Spam_score: 4.3 X-Spam_bar: ++++ X-Spam_report: (4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <871rkoslni.5.fsf@jidanni.org> Xref: csiph.com gnu.bash.bug:16699 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 /jidanni_backups/da 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