Skip to content

Commit

Permalink
build/embed.sh: Simplify a sed expression
Browse files Browse the repository at this point in the history
  • Loading branch information
tavianator committed Sep 3, 2024
1 parent da872df commit ac042e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/embed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ set -eu

{ cat; printf '\0'; } \
| od -An -tx1 \
| sed 's/\([^ ][^ ]*\)/0x\1,/g'
| sed 's/[^ ][^ ]*/0x&,/g'

0 comments on commit ac042e1

Please sign in to comment.