summaryrefslogtreecommitdiff
path: root/libusb/include
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-02 15:47:47 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-02 15:47:47 -0600
commit48ec9be1eba930b06050262a1a651d794c31bc11 (patch)
tree8ac174746a71efe3c0babe82cd410a6f49b3a59b /libusb/include
parent45b0b2d85fbc284453056c0768c7646df1de9b52 (diff)
trim trailing ws
Diffstat (limited to 'libusb/include')
-rwxr-xr-xlibusb/include/libusb/tusb_helpers.h.gen2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusb/include/libusb/tusb_helpers.h.gen b/libusb/include/libusb/tusb_helpers.h.gen
index b46f5f6..364430e 100755
--- a/libusb/include/libusb/tusb_helpers.h.gen
+++ b/libusb/include/libusb/tusb_helpers.h.gen
@@ -71,7 +71,7 @@ if [[ ! -f 3rd-party/MS-LCID.txt || 3rd-party/MS-LCID.txt -ot 3rd-party/MS-LCID.
fi
<3rd-party/MS-LCID.txt \
grep -E '^\s*0x[0-9A-F]{4}\s+[a-z]' | sed 's/,.*//' | grep -v reserved | # find the lines we're interested in
- sed -E 's/^\s*0x(..)(..)\s+(\S.*)/\2 \1 \3/p' | tr '[:lower:]-' '[:upper:]_' | # format them as 'PRIhex SUBhex UPPER_STR'
+ sed -E 's/^\s*0x(..)(..)\s+(\S.*)/\2 \1 \3/p' | tr '[:lower:]-' '[:upper:]_' | # format them as 'PRIhex SUBhex UPPER_STR'
sort |
sed -E 's/(..) (..) (.*)/#define LANGID_\3 0x\2\1/' | # format them as '#define LANGID_UPPER_STR 0xSUBPRI'
column --table --output-separator=' '