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