Spurious warning generated by bash
matthew patton
pattonme@yahoo.com
Thu Jan 1 10:41:42 GMT 2026
since when is it acceptable to have UTF-8 format files as shell scripts, perl scripts or even python programs?
a directive in .vimrc can probably help. along the lines of
au BefRead,ButNewFile *.sh,*.pl,*.py set nobomb
or if you invoke your shell script with `bash --utf8 ./my_broken^H^H^H^Hutf-encoded.script` or just `LANG=C.UTF-8 ./my_utf8-script` or set LC_ALL etc.
you know how people pose the question "if you could go back in time, would you kill Hitler? Same needs to be asked about the person/committee that came up with UTF8.
More information about the Cygwin
mailing list