Advertisement
Guest User

Untitled

a guest
Dec 18th, 2014
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Gentlemen,
  2.  
  3. I have a bunch of files that I need to do the following to:
  4.  
  5. Turn:
  6. <?php
  7.  
  8. Into:
  9. <?php
  10. // @codingStandardsIgnoreFile
  11.  
  12. I have been using this command to do other successful search-and-replaces
  13.  
  14. find . -type f -print0|xargs -0 perl -p -i -e "s/<thing I am searching>/<replacement>/g;"
  15.  
  16. Please advise on best solution
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement