Modernize ATC list format
* tools/atc/README: When generating the initial data dump, MySQL on review.openstack.org creates output files with DOS line endings and ISO-8859-1 encoding. Recommend using fromdos and iconv to normalize them. Change-Id: Ie16a56c024b0eee97b0e6bd5abe8ed3b0e0a9f7e
This commit is contained in:
parent
af54442af0
commit
d654b45b60
@ -25,8 +25,11 @@ elections and Summit invitations.
|
|||||||
./email-stats.sh
|
./email-stats.sh
|
||||||
DATE=`date --iso`
|
DATE=`date --iso`
|
||||||
mkdir $DATE
|
mkdir $DATE
|
||||||
cat out/*.csv | sort | uniq > $DATE/all.csv
|
for f in out/*.csv ; do
|
||||||
mv out/* $DATE/
|
fromdos $f
|
||||||
|
iconv -f ISO-8859-1 -t UTF-8 -o $DATE/`basename $f` $f
|
||||||
|
done
|
||||||
|
cat $DATE/*.csv | sort | uniq > $DATE/all.csv
|
||||||
|
|
||||||
6) You can use diff.py to get the new ATCs since the previous run:
|
6) You can use diff.py to get the new ATCs since the previous run:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user