reaktor2 bing: split lines after 426 chars
This commit is contained in:
parent
6db3832db5
commit
df09f8293f
@ -81,7 +81,8 @@ let
|
|||||||
echo "$_from: $(report_error "$response")"
|
echo "$_from: $(report_error "$response")"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
printf '%s' "$text" | echo "$_from: $(cat)"
|
# value seems to be 512 - overhead
|
||||||
|
echo "$_from: $text" | fold -s -w 426
|
||||||
|
|
||||||
printf '%s' "$response" |
|
printf '%s' "$response" |
|
||||||
jq -r '[.item.messages[1].sourceAttributions[].seeMoreUrl] | to_entries[] | "[\(.key + 1)]: \(.value)"'
|
jq -r '[.item.messages[1].sourceAttributions[].seeMoreUrl] | to_entries[] | "[\(.key + 1)]: \(.value)"'
|
||||||
|
Loading…
Reference in New Issue
Block a user