On Fri, Jun 15, 2018, 18:46 Patrick O'Callaghan <pocallaghan@gmail.com> wrote:
On Fri, 2018-06-15 at 18:01 +0800, Ed Greshko wrote:
> On 06/15/18 13:44, Todd Zullinger wrote:
> > Tim via users wrote:
> > > Allegedly, on or about 14 June 2018, Todd Zullinger sent:
> > > > To be fair, I don't think the rpm man page documents its
> > > > wildcard support.  If it does, I'm looking past it.
> > >
> > > I've always successfully done things like this:
> > >
> > > rpm -qa \*pulse\*
> > >
> > > More through force of habit, than any hard knowledge.
> >
> > Yeah.  That's worked for as long as I can remember.  I just
> > noticed while looking at the man page that it's apparently
> > not documented. :)
>
> [egreshko@meimei ~]$ rpm -qa pulse*
> pulseaudio-11.1-18.fc28.1.x86_64
> pulseaudio-module-bluetooth-11.1-18.fc28.1.x86_64
> pulseaudio-module-x11-11.1-18.fc28.1.x86_64
> pulseaudio-libs-11.1-18.fc28.1.x86_64
> pulseaudio-libs-glib2-11.1-18.fc28.1.x86_64
> pulseaudio-utils-11.1-18.fc28.1.x86_64
>
> [egreshko@meimei ~]$ rpm -qa *pulse*
> pulseaudio-11.1-18.fc28.1.x86_64
> pulseaudio-module-bluetooth-11.1-18.fc28.1.x86_64
> alsa-plugins-pulseaudio-1.1.6-3.fc28.x86_64
> pulseaudio-module-x11-11.1-18.fc28.1.x86_64
> pulseaudio-libs-11.1-18.fc28.1.x86_64
> kde-settings-pulseaudio-28.0-2.fc28.noarch
> pulseaudio-libs-glib2-11.1-18.fc28.1.x86_64
> pulseaudio-utils-11.1-18.fc28.1.x86_64
>
> Works fine here.  No escaping needed.  Not that it matters

The escaping is a precaution. Your example wouldn't work if you had a
filename starting with 'pulse' in the current directory.




Yeah, but I'm always aware of that possibly. So it's never an issue for me. I like less typing 😁