mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-01 05:34:43 +01:00
bd36a85bff
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
9 lines
292 B
Bash
9 lines
292 B
Bash
#!/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
|