Created
          April 1, 2020 23:29 
        
      - 
      
- 
        Save PIPIPIG233666/6b4bf1ee4817a9e9c3279aaf0c1aa7e0 to your computer and use it in GitHub Desktop. 
    script to remove OEM Copyright
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | string="Copyright (C) $1 XiaoMi, Inc." | |
| while IFS= read -r file; do | |
| sed -i "/$string/d" "$file" || continue; | |
| done < <(grep -R "$string" . | cut -d ':' -f 1) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment