in reply to Automatically Rewrite Shebang Line on Multiple Files

I'd just like to point out that only the first line is of significance for a shebang line. Hence, performing a search-and-replace for lines $. > 1 is not necessary unless... unless you have script-embedded shebangs?!