Re: pre-2.1.115-2 fails compile pgtable_cache_water

Zlatko Calusic (Zlatko.Calusic@CARNet.hr)
06 Aug 1998 21:11:16 +0200


"David S. Miller" <davem@dm.cobaltmicro.com> writes:

> 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