Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!fu-berlin.de!usenet.stanford.edu!not-for-mail From: Dennis Clarke Newsgroups: gnu.bash.bug Subject: Re: Idea: *.p completion Date: Sun, 1 Sep 2019 14:29:24 -0400 Lines: 18 Approved: bug-bash@gnu.org Message-ID: References: <878sr88336.5.fsf@jidanni.org> <29b2b6d6-5744-d76f-9507-7130e2ee5145@blastwave.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1567362576 3250 209.51.188.17 (1 Sep 2019 18:29:36 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org X-TCPREMOTEIP: 99.253.177.25 X-Authenticated-UID: dclarke@blastwave.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:69.0) Gecko/20100101 Thunderbird/69.0 In-Reply-To: <878sr88336.5.fsf@jidanni.org> Content-Language: en-US X-MIME-Autoconverted: from 8bit to quoted-printable by atl4mhob11.registeredsite.com id x81ITQqA007232 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.17.115.49 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: <29b2b6d6-5744-d76f-9507-7130e2ee5145@blastwave.org> X-Mailman-Original-References: <878sr88336.5.fsf@jidanni.org> Xref: csiph.com gnu.bash.bug:15342 On 9/1/19 11:10 AM, =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson wrote: > $ ls *.pdf > a.pdf b.pdf > $ diff *.p >=20 > At this point should complete "*.pdf". >=20 > Or maybe as a bonus it could complete "a.pdf b.pdf" via a different ke= y. >=20 So long as all these extensions and ideas get turned off by the env var POSIXLY_CORRECT then the shell can make coffee for you. Personally I am of the opinion that a tool in the Linux/UNIX world should do one thing well and then stop. Otherwise we may as well just make Windows 12. Dennis