>keen /c /o /d /e
<^o::^p ;striving after better User and Programmer Xperience
Friday, 28 May 2010
Replace text in multiple files
A simple perl command to replace all occurencies of 'RESULT_FAILURE' with 'RESULT_FAIL' in all *.sql files in current directory:
perl -pi -e 's/RESULT_FAILURE/RESULT_FAIL/g' *.sql
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment