fix no num data
This commit is contained in:
1 parent
5536abbd0b
commit
bae56de644
1 file changed
+1
-1
@@ -130,7 +130,7 @@ function get_marketdata {
|
||||
# on first download
|
||||
if ! [ -s "${f_histfile}" ]
|
||||
then
|
||||
cat "${f_histfile}.tmp" | sort -k1,1 -t, -u >"${f_histfile}"
|
||||
grep ^[2-9] "${f_histfile}.tmp" | sort -k1,1 -t, -u >"${f_histfile}"
|
||||
else
|
||||
# merge data
|
||||
egrep -h ^[0-9][0-9][0-9][0-9]-[0-9][0-9] "${f_histfile}" "${f_histfile}.tmp" | sort -k1,1 -t, -u >"${g_tmp}/${FUNCNAME}.tmp"
|
||||
|
||||
Reference in new issue
Block a user