configfiles/scripts/mirrorlist

16 lines
146 B
Text
Raw Normal View History

2015-05-29 21:08:06 +02:00
#!/usr/bin/awk -f
BEGIN {
c = ""
}
/^##/ {
c = substr($0,4);
}
/^#Server/ {
if( c==COUNTRY ) {
print substr($0,2);
}
}