update jq command 5th time
This commit is contained in:
parent
ea89dd98f9
commit
138bc8ef6c
1 changed files with 2 additions and 1 deletions
|
|
@ -24,7 +24,8 @@ fetch_and_merge() {
|
||||||
-o "$resp_file"
|
-o "$resp_file"
|
||||||
|
|
||||||
echo -e "\n--- Page $((counter + 1)) (First 20 lines) ---"
|
echo -e "\n--- Page $((counter + 1)) (First 20 lines) ---"
|
||||||
head -n 20 <(jq . "$resp_file")
|
# head -n 20 <(jq . "$resp_file")
|
||||||
|
jq . "$resp_file" 2>/dev/null | head -n 20
|
||||||
|
|
||||||
next_url=$(jq -r '.pages.next_url // empty' "$resp_file")
|
next_url=$(jq -r '.pages.next_url // empty' "$resp_file")
|
||||||
((counter++))
|
((counter++))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue