When a file is saved with BOM (byte-order mark) on a Mac or Linux machine Windows PowerShell cannot execute the script. Unfortunately the “cat” command by default does not show the byte-order mark at the beginning of the file. As Oriol stated below, use cat -A filename to display this extra information. Some editors show …
Continue reading “Remove byte-order mark from the beginning of the file”