in reply to "Change, but don't touch" or naive use of perl -pi

Assuming no files with spaces in them:
perl -pi -e 's/(:Timeplaner):Projekt,/$1$1,/' `grep ':Timeplaner:Proje +kt,' *`

Replies are listed 'Best First'.
Re^2: "Change, but don't touch" or naive use of perl -pi
by Happy-the-monk (Canon) on Sep 29, 2004 at 08:52 UTC

    that would be   grep -l   to tell   grep   only to list the file names.

    Yes, there are no spaces in the filenames in question.