$ file -bi test.sh
text/x-shellscript; charset=us-ascii