Guest User

Untitled

a guest
Mar 18th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. file=$1
  4.  
  5. cat $file > $file".temp"
  6. printf "\xEF\xBB\xBF" > $file
  7. cat $file".temp" >> $file
  8. rm $file".temp"
Add Comment
Please, Sign In to add comment