Skip to content

Commit ac042e1

Browse files
committed
build/embed.sh: Simplify a sed expression
1 parent da872df commit ac042e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/embed.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ set -eu
99

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

0 commit comments

Comments
 (0)