# # Generate one participants data from the 'TB1.csv' # according to key passed by the calling routine # function btrim(s1) {while (substr(s1,1,1)==" ") s1=substr(s1,2) while (substr(s1,length(s1))==" ") s1=substr(s1,1,length(s1)-1); return s1} # BEGIN { FS="|" # jmena poli a["Poskytovatel"]=1 a["Title"]=2 a["ShortTitle"]=3 a["Typ"]=4 a["ISSN"]=5 a["ISBN"]=6 a["URL"]=7 a["Zpusob"]=8 a["Subscriber"]=9 a["Sub_jmeno"]=10 a["Sub_e-mail"]=11 a["Podminky"]=12 a["IP"]=13 a["IdPwd"]=14 a["Remote"]=15 a["Podm_URL"]=16 a["Platnost"]=17 a["Konspekt"]=18 a["Profil"]=19 a["Seznam"]=20 a["Info_o_zdroji"]=21 a["Pristupnost"]=22 a["Retrospektiva"]=23 a["Charakteristika"]=24 a["Poznamky"]=25 a["Stats"]=26 a["Stats_URL"]=27 a["Vyplnil"]=28 a["E-mail"]=29 a["key"]=30 # } ($(a["key"]) == par) { print "
" print ""
print "
" print " " } END { "date +'%a %d %b %Y %H:%M:%S'" | getline timestamp print " Zobrazeno " timestamp " CET\n |