Screen preflet: fix extra spaces in certain vendor code
Also fix a copy/paste error in the command used to generate the list and renamed the temp file Change-Id: I0a954c78b14ddc802d3c5864323e7a1d82a529b9 Reviewed-on: https://review.haiku-os.org/c/haiku/+/5567 Reviewed-by: Oscar Lesta <[email protected]> Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
46c2fb2ffe
commit
fca54d80f2
@@ -37,11 +37,11 @@
|
|||||||
|
|
||||||
// Vendors.h is generated using this commands:
|
// Vendors.h is generated using this commands:
|
||||||
/*
|
/*
|
||||||
* wget https://uefi.org/uefi-pnp-export -O pnp_ids_temp.tmp
|
* wget https://uefi.org/uefi-pnp-export -O Vendors.h.tmp
|
||||||
* if [ $? -eq 0 ]; then
|
* if [ $? -eq 0 ]; then
|
||||||
* sed -E -e 's:<thead>::g' -e 's:<tr.*="(.+)"><td>:{ ":g' -e 's:<td>[[:digit:]]{2}/[[:digit:]]{2}/[[:digit:]]{4}</td>::g' -e 's:(<\/td><td>):\", \":g' -e 's:<\/td>.<\/tr>:\" },:g' -e 's/"(.*?)", "(.*?)"/\"\2\", \"\1\"/' -e 's/&/\&/' -e "s/'/'/" Vendors_temp.tmp | grep -v '<' | sort > Vendors.h
|
* sed -E -e 's:<thead>::g' -e 's:<tr.*="(.+)"><td>:{ ":g' -e 's:<td>[[:digit:]]{2}/[[:digit:]]{2}/[[:digit:]]{4}</td>::g' -e 's: *(<\/td><td>):\", \":g' -e 's: *<\/td>.<\/tr>:\" },:g' -e 's/"(.*?)", "(.*?)"/\"\2\", \"\1\"/' -e 's/&/\&/' -e "s/'/'/" Vendors.h.tmp | grep -v '<' | sort > Vendors.h
|
||||||
* fi
|
* fi
|
||||||
* rm Vendors_temp.tmp
|
* rm Vendors.h.tmp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct pnp_id {
|
struct pnp_id {
|
||||||
|
|||||||
Reference in New Issue
Block a user