You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koffice/tools/scripts/gdb_output_to_text.pl

11 lines
167 B

#!/usr/bin/perl
while (<>) {
if ( m/.* = [-\d]+ '(.+)'/ ) {
my $a = $1;
eval( "\$a=\"$a\"" );
print $a;
} elsif ( m/.* = -1/ ) {
print "\n";
}
}