6 /* Automatically generated by $0 */
14 static char *common_cmd_groups[] = {
20 last if /^### command list/;
21 next if (1../^### common groups/) || /^#/ || /^\s*$/;
23 my ($k, $v) = split ' ', $_, 2;
25 print "\tN_(\"$v\"),\n";
28 print "};\n\nstatic struct cmdname_help common_cmds[] = {\n";
31 next if /^#/ || /^\s*$/;
33 my $cmd = shift @tags;
35 if (exists $grp{$t}) {
37 open my $f, '<', "Documentation/$cmd.txt" or die;
39 ($s) = /^$cmd - (.+)$/;
44 print "\t{\"$cmd\", N_(\"$s\"), $grp{$t}},\n";