Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. <?php
  2. some random code that should be removed
  3. ....
  4. ....
  5. ....
  6.  
  7. ?><?php /*The beginning of the new <?php Tag is important and have to stay in the file!*/
  8. important code
  9. ....
  10. ....
  11. ....
  12. ....
  13. ?>
  14.  
  15. sed 's/^(?>)/1n/' | sed '1,/^?>$/d'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement