remove extra 1970 print
This commit is contained in:
parent
7accacc403
commit
24970f0247
2 changed files with 60 additions and 55 deletions
|
@ -106,63 +106,66 @@ BEGIN{
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
print olddate "," total "," edit "," atomic "," cloud "," server "," workstation "," unk_edt "," f20 "," f21 "," f22 "," f23 "," f24 "," f25 "," f26 "," f27 "," f28 "," f29 "," unk_rel "," arm_32 "," arm_64 "," ppc_le "," ppc_he "," s390x "," x86_32 "," x86_64 "," unk_arc "," netinstall "," netserv "," network "," netclod "," spin "," xfce "," soas "," lxde "," secu "," robo "," mate "," scik "," jamk "," desi "," elec "," game "," mini "," cinn "," kde
|
if ( olddate !~ "1970-01-01" ) {
|
||||||
olddate=$1
|
print olddate "," total "," edit "," atomic "," cloud "," server "," workstation "," unk_edt "," f20 "," f21 "," f22 "," f23 "," f24 "," f25 "," f26 "," f27 "," f28 "," f29 "," unk_rel "," arm_32 "," arm_64 "," ppc_le "," ppc_he "," s390x "," x86_32 "," x86_64 "," unk_arc "," netinstall "," netserv "," network "," netclod "," spin "," xfce "," soas "," lxde "," secu "," robo "," mate "," scik "," jamk "," desi "," elec "," game "," mini "," cinn "," kde;
|
||||||
total = 0;
|
};
|
||||||
#edition
|
|
||||||
atomic=0;
|
olddate=$1
|
||||||
cloud=0;
|
total = 0;
|
||||||
server=0;
|
#edition
|
||||||
workstation=0;
|
atomic=0;
|
||||||
edit = 0;
|
cloud=0;
|
||||||
unk_edt=0;
|
server=0;
|
||||||
# release
|
workstation=0;
|
||||||
f20=0;
|
edit = 0;
|
||||||
f21=0;
|
unk_edt=0;
|
||||||
f22=0;
|
# release
|
||||||
f23=0;
|
f20=0;
|
||||||
f24=0;
|
f21=0;
|
||||||
f25=0;
|
f22=0;
|
||||||
f26=0;
|
f23=0;
|
||||||
f27=0;
|
f24=0;
|
||||||
f28=0;
|
f25=0;
|
||||||
f29=0;
|
f26=0;
|
||||||
unk_rel=0;
|
f27=0;
|
||||||
# arch
|
f28=0;
|
||||||
arm_32=0;
|
f29=0;
|
||||||
arm_64=0;
|
unk_rel=0;
|
||||||
x86_32=0;
|
# arch
|
||||||
x86_64=0;
|
arm_32=0;
|
||||||
ppc_le=0;
|
arm_64=0;
|
||||||
ppc_he=0;
|
x86_32=0;
|
||||||
s390x=0;
|
x86_64=0;
|
||||||
unk_arc=0;
|
ppc_le=0;
|
||||||
# spins
|
ppc_he=0;
|
||||||
spin = 0;
|
s390x=0;
|
||||||
xfce = 0;
|
unk_arc=0;
|
||||||
soas = 0;
|
# spins
|
||||||
lxde = 0;
|
spin = 0;
|
||||||
secu = 0;
|
xfce = 0;
|
||||||
robo = 0;
|
soas = 0;
|
||||||
mate = 0;
|
lxde = 0;
|
||||||
scik = 0;
|
secu = 0;
|
||||||
jamk = 0;
|
robo = 0;
|
||||||
desi = 0;
|
mate = 0;
|
||||||
elec = 0;
|
scik = 0;
|
||||||
game = 0;
|
jamk = 0;
|
||||||
mini = 0;
|
desi = 0;
|
||||||
cinn = 0;
|
elec = 0;
|
||||||
kde = 0;
|
game = 0;
|
||||||
# additional data
|
mini = 0;
|
||||||
netinstall=0;
|
cinn = 0;
|
||||||
netserv=0;
|
kde = 0;
|
||||||
network=0;
|
# additional data
|
||||||
netclod=0;
|
netinstall=0;
|
||||||
|
netserv=0;
|
||||||
|
network=0;
|
||||||
|
netclod=0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
END {
|
END {
|
||||||
print olddate "," total "," edit "," atomic "," cloud "," server "," workstation "," unk_edt "," f20 "," f21 "," f22 "," f23 "," f24 "," unk_rel "," arm_32 "," arm_64 "," ppc_le "," ppc_he "," s390x "," x86_32 "," x86_64 "," unk_arc "," netinstall "," netserv "," network "," netclod "," spin "," xfce "," soas "," lxde "," secu "," robo "," mate "," scik "," jamk "," desi "," elec "," game "," mini "," cinn "," kde
|
print olddate "," total "," edit "," atomic "," cloud "," server "," workstation "," unk_edt "," f20 "," f21 "," f22 "," f23 "," f24 "," unk_rel "," arm_32 "," arm_64 "," ppc_le "," ppc_he "," s390x "," x86_32 "," x86_64 "," unk_arc "," netinstall "," netserv "," network "," netclod "," spin "," xfce "," soas "," lxde "," secu "," robo "," mate "," scik "," jamk "," desi "," elec "," game "," mini "," cinn "," kde
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -127,7 +127,9 @@ BEGIN{
|
||||||
else if ($4 ~"alpha") { alpha = alpha +1 }
|
else if ($4 ~"alpha") { alpha = alpha +1 }
|
||||||
else {unknown_arch = unknown_arch +1; };
|
else {unknown_arch = unknown_arch +1; };
|
||||||
} else {
|
} else {
|
||||||
print olddate "," epel4 "," epel5 "," epel6 "," epel7 "," f03 "," f04 "," f05 "," f06 "," f07 "," f08 "," f09 "," f10 "," f11 "," f12 "," f13 "," f14 "," f15 "," f16 "," f17 "," f18 "," f19 "," f20 "," f21 "," f22 "," f23 "," f24 "," f25 "," f26 "," f27 "," f28 "," f29 "," rawhide "," unknown_release "," epel "," fedora "," alpha "," arm "," arm64 "," ia64 "," mips "," ppc "," s390 "," sparc "," tilegx "," x86_32 "," x86_64 "," x86_32_e "," x86_32_f "," x86_64_e "," x86_64_f "," ppc_e "," ppc_f "," unknown_arch "," centos "," rhel;
|
if ( olddate !~ "1970-01-01" ) {
|
||||||
|
print olddate "," epel4 "," epel5 "," epel6 "," epel7 "," f03 "," f04 "," f05 "," f06 "," f07 "," f08 "," f09 "," f10 "," f11 "," f12 "," f13 "," f14 "," f15 "," f16 "," f17 "," f18 "," f19 "," f20 "," f21 "," f22 "," f23 "," f24 "," f25 "," f26 "," f27 "," f28 "," f29 "," rawhide "," unknown_release "," epel "," fedora "," alpha "," arm "," arm64 "," ia64 "," mips "," ppc "," s390 "," sparc "," tilegx "," x86_32 "," x86_64 "," x86_32_e "," x86_32_f "," x86_64_e "," x86_64_f "," ppc_e "," ppc_f "," unknown_arch "," centos "," rhel;
|
||||||
|
};
|
||||||
olddate=$1
|
olddate=$1
|
||||||
epel=0;
|
epel=0;
|
||||||
fedora=0;
|
fedora=0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue