summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-09-03 15:54:09 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-09-03 15:54:09 -0400
commitac042e14d8ba3ac352cf7a03e4f849e4456f4a03 (patch)
treebb0cf8b13831aeeea4d6abe0ebd08c704fc8e132
parentda872df0949ce53d5416a90d5bdb4a8391726cb5 (diff)
downloadbfs-ac042e14d8ba3ac352cf7a03e4f849e4456f4a03.tar.xz
build/embed.sh: Simplify a sed expression
-rwxr-xr-xbuild/embed.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/embed.sh b/build/embed.sh
index 8d7d0f1..c0744f6 100755
--- a/build/embed.sh
+++ b/build/embed.sh
@@ -9,4 +9,4 @@ set -eu
{ cat; printf '\0'; } \
| od -An -tx1 \
- | sed 's/\([^ ][^ ]*\)/0x\1,/g'
+ | sed 's/[^ ][^ ]*/0x&,/g'