Skip to content

Commit

Permalink
Ensure that hyphen is at end of tr string to prevent 'reverse collati…
Browse files Browse the repository at this point in the history
…ng sequence order' error in GNU tr @marcjay

Ensure that hyphen is at end of tr string to prevent 'reverse collating sequence order' error in GNU tr
  • Loading branch information
toniblyx committed Apr 29, 2020
2 parents 1f949b4 + af3afa8 commit e4ae0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/outputs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ generateJsonAsffOutput(){
--arg ACCOUNT_NUM "$ACCOUNT_NUM" \
--arg TITLE_TEXT "$TITLE_TEXT" \
--arg MESSAGE "$(echo -e "${message}" | sed -e 's/^[[:space:]]*//')" \
--arg UNIQUE_ID "$(LC_ALL=C echo -e "${message}" | tr -cs '[:alnum:]._~-\n' '_')" \
--arg UNIQUE_ID "$(LC_ALL=C echo -e -n "${message}" | tr -cs '[:alnum:]._~-' '_')" \
--arg STATUS "$status" \
--arg SEVERITY "$severity" \
--arg TITLE_ID "$TITLE_ID" \
Expand Down

0 comments on commit e4ae0a4

Please sign in to comment.