# die "Please specify input and output filenames" if($#ARGV != 1); open INF, '<', $ARGV[0] or die "Can't open input file"; open OUF, '>', $ARGV[1] or die "Can't open output file"; print OUF < khui_action khui_actions[] = { EOS # skip first line ; while() { print OUF "{".$_."},\n"; } print OUF <