mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
9 lines
292 B
Plaintext
9 lines
292 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
dir=$(dirname "$0")
|
||
|
|
||
|
cat $dir/HelpManager.resx | sed -e 's#
##g' | awk '
|
||
|
/data name="/ { FS="\""; NAME=$2; }
|
||
|
/<value>.*<\/value>/ { print "#define " NAME " " $1; }' |
|
||
|
sed -e 's# *<value># #g' | sed -e 's#</value>##g' | grep -v Icon1 | grep -v Bitmap1 | grep -v Name1 | sort -nk 3
|