skip to main
|
skip to sidebar
ice.huli
21 February, 2012
用perl在多个文件中替换
用perl在多个文件中替换
perl -pi -w -e 's/search/replace/g;' *.cpp
e.g.
perl -pi -w -e 's/.C>/.cpp>/g;' jni/ga/*
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
November
(1)
September
(1)
March
(1)
February
(1)
April
(3)
March
(4)
February
(1)
January
(2)
October
(3)
April
(6)
March
(2)
No comments:
Post a Comment