Got an iPhone or iPad? We have a brand new Pastebin App for both devices, and it's totally free! Click here to download the new Pastebin App for iOS.
Guest

Brandon T

By: a guest on Jan 26th, 2010  |  syntax: None  |  size: 0.16 KB  |  hits: 136  |  expires: Never
download  |  raw  |  embed  |  report abuse
This paste has a previous version, view the difference. Copied
  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"