bin-utils/remove_bom

4 lines
63 B
Plaintext
Raw Normal View History

2015-05-30 16:42:42 +00:00
#!/bin/bash
awk '{if(NR==1)sub(/^\xef\xbb\xbf/,"");print}' $1