AW: Ash wildcard usability bug

dietmar.schindler at manroland-web.com dietmar.schindler at manroland-web.com
Wed Oct 26 06:20:24 UTC 2016


> Von: Lauri Kasanen [mailto:curaga at operamail.com]
> Gesendet: Dienstag, 25. Oktober 2016 19:25
>
> > > On Mon, Oct 24, 2016, at 20:09, Denys Vlasenko wrote:
> > > > Note that they allow to consistently never do globbing on the
> > > > redirect word.
> > > >
> > > > To me it looks like the best course of action.
> > >
> > > Surely we all agree that it's terrible usability to not expand it?
> >
> > It may be terrible, but it's conforming to POSIX. ;-)
> >
> > But in earnest, I think in most cases it is more convenient to use Tab
> > completion rather than *.
>
> Well, I did try to use tab completion: cat < *zip[TAB]
>
> Of course it doesn't work. In my case, I had many files sharing a
> prefix, but only one ending in *zip, so typing that was several
> times faster than letter- tab, oh more letters, tab, oh, more
> letters, tab, more....

In this example, you could use the even shorter: cat *zip
But I see your point - there are indeed cases where pathname expansion on redirections is utile, and since it's also conforming to POSIX for an interactive shell, I have no objection to it.
--
Best regards,
Dietmar
________________________________
manroland web systems GmbH -- Managing Director: Alexander Wassermann
Registered Office: Augsburg -- Trade Register: AG Augsburg -- HRB-No.: 26816 -- VAT: DE281389840

Confidentiality note:
This eMail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you have received this eMail in error, then please delete this eMail.
________________________________


More information about the busybox mailing list