Share Pastebin
Guest
Public paste!

Brandon T

By: a guest | Jan 26th, 2010 | Syntax: None | Size: 0.16 KB | Hits: 135 | 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 -lZ -e "^<?php \/\/ \$Id:.*\$$" '{}' \; -print0 | xargs -0 sed -i -e "s,\$Id:.*\$$,\$Id\$,g"