~ubuntu-branches/ubuntu/natty/knemo/natty

« back to all changes in this revision

Viewing changes to src/kconf_update/knemo-0.6.3-misc.pl

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-02-22 16:36:22 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20110222163622-d8i62gy1stn7tydv
Tags: 0.7.0-0ubuntu1
* New upstream release.
* Switch to source format 3.0 (quilt).
* Make knemo depend on libqt4-sql-sqlite.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/perl -w
 
2
 
 
3
# Delete unused plotter keys
 
4
 
 
5
use strict;
 
6
 
 
7
while ( <> ) {
 
8
    next if ( /^$/ );
 
9
    if ( /^(\[.+\])$/ ) {
 
10
        my $currentGroup = $1;
 
11
        if ( $currentGroup =~ /^\[Plotter_/ ) {
 
12
            print "# DELETE ${currentGroup}BottomBar\n";
 
13
            print "# DELETE ${currentGroup}ColorBackground\n";
 
14
            print "# DELETE ${currentGroup}ColorVLines\n";
 
15
            print "# DELETE ${currentGroup}Opacity\n";
 
16
        }
 
17
    }
 
18
    next;
 
19
}