Re: yum downgrade?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-06-09 at 13:57 +0100, Timothy Murphy wrote:
> >>> If you normally run "yum update" you can change your procedure to simply
> >>> run "yum --exclude=dovecot* update".
> >> 
> >> Don't you have to say "yum --exclude=dovecot\* update" ?
> > 
> > I've never had to escape the * in this situation.  YMMV,
> 
> I stand corrected.
> I assumed the shell would try to expand the "*",
> and when it could not would either give a warning or omit the argument.

If it can't substitute a matching wildcard filename expansion it passes
the original text unchanged.

> But I've never really understood the subtleties of bash.

I'd probably quote it like:
yum --exclude='dovecot*' update
as a matter of habit to emphasize that I don't want any substitutions,
but in this case double quotes or \ escaping would all be the same.

It's worth spending some time learning a few details about shell
variable/wildcard substitutions and i/o redirection.  The basics
haven't changed in decades and they can save you a lot of work.

-- 
 Les Mikesell
   lesmikesell@xxxxxxxxx


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux