refact shell script

* fix wget save to a wrong file name with a same name file
* beautify log format
* print asn on log
* modify/add DEBUG, SKIP_DATA_PREPARATION environment variables
This commit is contained in:
Yifan Gao
2017-03-10 21:15:26 +08:00
parent 147e983364
commit ea485fe7e4
3 changed files with 41 additions and 35 deletions

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bash
source common.sh
cd result
ls *.txt |
while read file; do