[Yum] Parsing yum.repos.d
Jonathan Ryshpan
jonrysh at pacbell.net
Sat Oct 28 20:40:51 UTC 2006
How do you parse the following line from:/etc/yum.repos.d/fedora-core.repo
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
The complete paragraph containing the line is:
[core]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=core-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
In particular how are the characters "=" (other than directly after
"mirrorlist") and "&" interpreted? A pointer to documentation will be
sufficient.
Thanks - jon
More information about the Yum
mailing list