From 320284914823fcee31ca51a578c28377857730b6 Mon Sep 17 00:00:00 2001 From: CLHatch Date: Sun, 25 Jan 2026 23:34:34 -0600 Subject: [PATCH] Fix paste command in macOS --- main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 330cdcca38..7cdda1f2fd 100755 --- a/main.sh +++ b/main.sh @@ -465,7 +465,7 @@ PrefixFileLines() { LineCount=$(wc -l < "${FileName}") # Join the repeated prefix stream and the content stream - paste -d '' <(yes "${Prefix}" | head -n "${LineCount}" || true) "${FileName}" + paste -d '\0' <(yes "${Prefix}" | head -n "${LineCount}" || true) "${FileName}" } RunAndLog() {