jq leave me alone
This commit is contained in:
parent
d938242a7d
commit
ea89dd98f9
1 changed files with 3 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ fetch_and_merge() {
|
|||
-o "$resp_file"
|
||||
|
||||
echo -e "\n--- Page $((counter + 1)) (First 20 lines) ---"
|
||||
jq "." "$resp_file" | head -n 20
|
||||
head -n 20 <(jq . "$resp_file")
|
||||
|
||||
next_url=$(jq -r '.pages.next_url // empty' "$resp_file")
|
||||
((counter++))
|
||||
|
|
@ -70,4 +70,5 @@ zip -r "$tmp_dir/wanikani_data_$date.zip" "$tmp_dir/data"
|
|||
echo "Data zipped to $tmp_dir/wanikani_data_$date.zip"
|
||||
|
||||
echo "$tmp_dir"
|
||||
# rm -r "$tmp_dir"
|
||||
# rm -r "$tmp_dir"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue