Skip to content

Commit

Permalink
Fix joining lines.
Browse files Browse the repository at this point in the history
  • Loading branch information
yugr committed Dec 30, 2024
1 parent 5b9c66c commit 617fff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ has_option() {
}

get_option() {
cat $1 | sed -n 's!.*\/\/ *'$2' *: *!!p' | tr '\n' ','
cat $1 | sed -n 's!.*\/\/ *'$2' *: *!!p' | paste -sd,
}

get_syslog() {
Expand Down

0 comments on commit 617fff4

Please sign in to comment.