3
echo "/* Automatically generated by $0 */
10
static struct cmdname_help common_cmds[] = {"
12
sed -n -e 's/^perf-\([^ ]*\)[ ].* common.*/\1/p' command-list.txt |
17
/^NAME/,/perf-'"$cmd"'/H
20
s/.*perf-'"$cmd"' - \(.*\)/ {"'"$cmd"'", "\1"},/
22
}' "Documentation/perf-$cmd.txt"