Skip to content

Commit

Permalink
Update addMessage.sh: add missing "-e" to echo
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Dec 20, 2023
1 parent 2da9637 commit dbdd504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/addMessage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ COUNT=0
TAB="$(echo -e "\t")"

# Convert newlines to HTML breaks.
MESSAGE="$( echo -n "${MESSAGE}" |
MESSAGE="$( echo -en "${MESSAGE}" |
awk 'BEGIN { l=0; } { if (++l > 1) printf("<br>"); printf("%s", $0); }' )"
MESSAGE="${MESSAGE// /&nbsp;&nbsp;}"

Expand Down

0 comments on commit dbdd504

Please sign in to comment.