summaryrefslogtreecommitdiffstats
path: root/lexd-spool.sh
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2026-08-23 08:43:47 +0800
committerSadeep Madurange <sadeep@asciimx.com>2026-08-23 08:43:47 +0800
commit8adf3813822fc8781781cc3082f68c94ae184742 (patch)
treeaa8a00a6490064089a1b4da32b105c1c74a4e7fe /lexd-spool.sh
parent50095a7383a75d6d2943dd0bec04eed4f5bdc11a (diff)
downloadlex-8adf3813822fc8781781cc3082f68c94ae184742.tar.gz
Fold response at 72 characters.
Diffstat (limited to 'lexd-spool.sh')
-rwxr-xr-xlexd-spool.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lexd-spool.sh b/lexd-spool.sh
index c340502..9ce9c3b 100755
--- a/lexd-spool.sh
+++ b/lexd-spool.sh
@@ -102,6 +102,7 @@ while true; do
remote_cmd="${remote_cmd} '${SPOOL_DIR}/${SPOOL_FILE}'"
print -r -- "${response}" \
+ | fold -s -w 72 \
| ssh -F "${SSH_CONFIG}" "${SSH_HOST}" "${remote_cmd}"
log_info "Finished processing: ${target_word}"