Skip to content

Commit 4672b83

Browse files
authored
Fix paste command in macOS (#2421)
1 parent 018eeef commit 4672b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ PrefixFileLines() {
465465
LineCount=$(wc -l < "${FileName}")
466466

467467
# Join the repeated prefix stream and the content stream
468-
paste -d '' <(yes "${Prefix}" | head -n "${LineCount}" || true) "${FileName}"
468+
paste -d '\0' <(yes "${Prefix}" | head -n "${LineCount}" || true) "${FileName}"
469469
}
470470

471471
RunAndLog() {

0 commit comments

Comments
 (0)