1#!/bin/sh23echo "/* Automatically generated by $0 */4struct cmdname_help {5char name[16];6char help[80];7};89static struct cmdname_help common_cmds[] = {"1011sed -n -e 's/^git-\([^ ]*\)[ ].* common.*/\1/p' command-list.txt |12sort |13while read cmd14do15sed -n '16/^NAME/,/git-'"$cmd"'/H17${18x19s/.*git-'"$cmd"' - \(.*\)/ {"'"$cmd"'", N_("\1")},/20p21}' "Documentation/git-$cmd.txt"22done23echo "};"