bin-utils/remove_bom

4 lines
63 B
Bash
Executable File

#!/bin/bash
awk '{if(NR==1)sub(/^\xef\xbb\xbf/,"");print}' $1