mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-18 09:34:47 +08:00
tools: Increase width for html2text conversion for long company names
This commit is contained in:
parent
731d648d9b
commit
e310672dd2
@ -28,7 +28,7 @@ path=en-us/specification/assigned-numbers/company-identifiers
|
||||
# some versions incorrectly convert it into "\xC2\xA0"
|
||||
curl https://www.bluetooth.org/$path | iconv -c -f utf8 -t ascii | \
|
||||
sed '/<input.*type="checkbox"/d; s/ / /g' | \
|
||||
html2text -ascii -o identifiers.txt >/dev/null
|
||||
html2text -ascii -width 160 -o identifiers.txt >/dev/null
|
||||
|
||||
# Some versions of html2text do not replace & (e.g. Fedora)
|
||||
sed -i 's/&/\&/g' identifiers.txt
|
||||
|
Loading…
Reference in New Issue
Block a user