diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-20 01:29:50 +0000 |
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-01-20 01:29:50 +0000 |
| commit | 8362bf63dea22bbf6736609b0f49c152f975eb63 (patch) | |
| tree | 0eea3928e39e50fae91d4e68b21b1e6cbae25604 /tools/scripts/gdb_output_to_text.pl | |
| download | koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.tar.gz koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.zip | |
Added old abandoned KDE3 version of koffice
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1077364 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'tools/scripts/gdb_output_to_text.pl')
| -rwxr-xr-x | tools/scripts/gdb_output_to_text.pl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/scripts/gdb_output_to_text.pl b/tools/scripts/gdb_output_to_text.pl new file mode 100755 index 000000000..8a85833aa --- /dev/null +++ b/tools/scripts/gdb_output_to_text.pl @@ -0,0 +1,10 @@ +#!/usr/bin/perl +while (<>) { + if ( m/.* = [-\d]+ '(.+)'/ ) { + my $a = $1; + eval( "\$a=\"$a\"" ); + print $a; + } elsif ( m/.* = -1/ ) { + print "\n"; + } +} |
