Skip to content

Commit 36656f9

Browse files
committed
Remove another Sharp NEC duplicate
1 parent f37512f commit 36656f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/make_manufacturer_data.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ echo -n "MANUFACTURER_DATA = "
4141
# Remove any consecutive duplicates within the file (e.g. stuff added twice by mistake)
4242
# Remove duplicate entry for manufacturer 0x0000
4343
# Remove duplicate entry for manufacturer 0x4C5A; keep the original owner of the ID
44-
# Remove duplicate entry for manufacturer 0x0854; NEC is now a subsidiary of Sharp NEC
44+
# Remove two duplicate entries for manufacturer 0x0854; NEC is now a subsidiary of Sharp NEC
4545
# Remove duplicate entry for manufacturer 0x5007; keep the original owner of the ID
4646
# Remove any H's after the manufacturer IDs and generally sanitise the rows
4747
# TODO(Peter): Comment out any invalid rows
@@ -63,6 +63,6 @@ sed -r -e 's/\xc5\x9f/s/g' | \
6363
tr "\300-\305" "[A*]" | tr "\310-\313" "[E*]" | tr "\314-\317" "[I*]" | tr "\322-\326" "[O*]" | tr "\331-\334" "[U*]" | \
6464
tr "\340-\345" "[a*]" | tr "\350-\353" "[e*]" | tr "\354-\357" "[i*]" | tr "\362-\366" "[o*]" | tr "\371-\374" "[u*]" | \
6565
uniq | \
66-
grep -v "(0x0000, \"PLASA\")," | grep -v "(0x4C5A, \"Sumolight GmbH\")," | grep -v "(0x0854, \"NEC Display Solutions, Ltd\.\")," | grep -v "(0x5007, \"Prizm Lighting (part of American Lighting Inc.)\")," | \
66+
grep -v "(0x0000, \"PLASA\")," | grep -v "(0x4C5A, \"Sumolight GmbH\")," | grep -v "(0x0854, \"NEC Display Solutions, Ltd\.\")," | grep -v "(0x0854, \"Sharp Corporation\")," | grep -v "(0x5007, \"Prizm Lighting (part of American Lighting Inc.)\")," | \
6767
sed -r -e 's/^[[:space:]]*\([[:space:]]*0x([[:xdigit:]]{4,4})[Hh]?[[:space:]]*,[[:space:]]*"[[:space:]]*/(0x\1, "/' -e 's/[[:space:]]+"\),$/"),/' -e 's/^\(/ (/'
6868
)

0 commit comments

Comments
 (0)