Skip to content

Instantly share code, notes, and snippets.

@newkedison
Created July 25, 2010 08:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save newkedison/489429 to your computer and use it in GitHub Desktop.
Save newkedison/489429 to your computer and use it in GitHub Desktop.
将当前文件夹下,所有文件中的common.h替换成Common.h
grep 'common.h' *|awk -F: '{print $1}'|xargs sed -i '/common.h/s//Common.h/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment