Skip to content

Instantly share code, notes, and snippets.

@newkedison
Created July 25, 2010 08:47
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
将当前文件夹下,所有文件中的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