> sed 's/pgtable_cache_water/pgt_cache_water/' <mm/memory.c >mm/memory.c.new
> mv mm/memory.c.new mm/memory.c
> make
>
Hm,
perl -pi -e 's/pgtable_cache_water/pgt_cache_water/' mm/memory.c
This works even in cases like perl -pi -e 's%old%new%g' *.[ch]
:)
-- Posted by Zlatko Calusic E-mail: <Zlatko.Calusic@CARNet.hr> --------------------------------------------------------------------- "The faster you go, the shorter you are" - Einstein- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html