in reply to Search and replace in all odd lines

If you are doing from command line, you can use perl -n -e '<substitute logic> if $.%2>0
Ranjan