blob: d3806a7be4632f721347b7d3a2d850772d94464f (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
CONFIG=$1
DIR=$2
cat $CONFIG |
jq '.[] | .date, .url, .index, .menu_age // "old", .name' |
xargs -n5 |
while read DATE URL INDEX AGEMENU NAME
do
python scripts/rankings-tables-compile.py "$NAME" $INDEX $DIR/.menu.html $DATE "$AGEMENU" > $DIR/$URL
done
|