File Replace with sed
by Emre Tugriceri on Dec.24, 2007, under Shell
-i[SUFFIX], –in-place[=SUFFIX]
edit files in place (makes backup if extension supplied)
[root@etugriceri sil2]# sed -i ‘s/LAND/AIR/i’ *
Powered by ScribeFire.
No comments for this entry yet...