bin-utils/remove_bom

4 lines
63 B
Plaintext
Raw Normal View History

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