diff options
author | lassulus <lassulus@lassul.us> | 2023-05-14 19:56:47 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2023-05-14 19:56:47 +0200 |
commit | df09f8293f326235d417ec750edf05298ba468de (patch) | |
tree | 99857e5c6efa00c0802055bbe89c925d774965a0 /krebs | |
parent | 6db3832db5e60838a925916ad095683d7272106f (diff) |
reaktor2 bing: split lines after 426 chars
Diffstat (limited to 'krebs')
-rw-r--r-- | krebs/2configs/reaktor2.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/krebs/2configs/reaktor2.nix b/krebs/2configs/reaktor2.nix index de1e01a35..67c2dd4cd 100644 --- a/krebs/2configs/reaktor2.nix +++ b/krebs/2configs/reaktor2.nix @@ -81,7 +81,8 @@ let echo "$_from: $(report_error "$response")" exit 0 fi - printf '%s' "$text" | echo "$_from: $(cat)" + # value seems to be 512 - overhead + echo "$_from: $text" | fold -s -w 426 printf '%s' "$response" | jq -r '[.item.messages[1].sourceAttributions[].seeMoreUrl] | to_entries[] | "[\(.key + 1)]: \(.value)"' |