sed -i '1s/^\(\xef\xbb\xbf\)\?/\xef\xbb\xbf/' foo-* Post navigation Tail: prepend file name to tailing output (bash)Bash color variables