#!/usr/bin/perl

while (<>) {
    if (/shortcut="([^"]+)"/) {
	my $shortcut = $1;
	my $text = "";
	if (/text="([^"]+)"/) {
	    $text = $1;
	    $text =~ s/&amp;//;
	    print $text, " | ", $shortcut, "\n";
	}
    }
}

