If you wrap string in the proper tags you will get the same result, but with different offset (28 chars):
tee "index.html" <<eol ; echo -e "\n"; kmimetypefinder5 index.html <!DOCTYPE html> <html><body>`printf "x"%.0s {1..228}` use strict </body></html> eol # -> text/html
If you wrap string in the proper tags you will get the same result, but with different offset (28 chars):
tee "index.html" <<eol ; echo -e "\n"; kmimetypefinder5 index.html
<!DOCTYPE html>
<html><body>`printf "x"%.0s {1..228}`
use strict
</body></html>
eol # -> text/html