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:
JackBurton79
2022-08-25 17:13:19 +00:00
committed by waddlesplash
parent 46c2fb2ffe
commit fca54d80f2
2 changed files with 39 additions and 39 deletions
+3 -3
View File
@@ -37,11 +37,11 @@
// 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
* 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/&amp;/\&/' -e "s/&#039;/'/" 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/&amp;/\&/' -e "s/&#039;/'/" Vendors.h.tmp | grep -v '<' | sort > Vendors.h
* fi
* rm Vendors_temp.tmp
* rm Vendors.h.tmp
*/
struct pnp_id {