Share Pastebin
Guest
Public paste!

Brandon T

By: a guest | Jan 26th, 2010 | Syntax: None | Size: 0.17 KB | Hits: 92 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. find . -exec grep -e "^<?php \/\/ \$Id:.*\$$" '{}' \;
  2.  
  3. find . -exec grep -l -e "^<?php \/\/ \$Id:.*\$$" '{}' \; -print0 | xargs -0 sed -i -e "s,^<?php \/\/ \$Id:.*\$$,<?php,g"