1 2 3 4 5 6 7 8
#!/usr/bin/perl foreach (<>) { if(/^PluginLib=kwin_(.*)$/) { print "PluginLib=kwin3_$1\n"; next; } print $_; }