* Taylor Hedberg <[email protected]> [120111 10:03]: > This is a bit of a digression, but shebang lines are not a feature of > the shell, but a feature of the operating system. So if it works in one > shell, it should (theoretically) work in any shell on the same system.
You are right, this is getting OT (subject changed). Shebang started as a feature of, specifically, the Bourne shell. It was soon added to the Unix kernel (perhaps 1980?), and has been in most Unix-like OS's since then, including Linux. Yes, it is now a feature of the kernel exec() system call. The OP said he was writing shell scripts, so I jumped to the conclusion that he was on a Unix-like operating system, which might be incorrect. But if he is, the shebang will almost certainly work. If he is writing ksh scripts for a non-Unix-like OS, why would having the shebang line cause problems? It will allow Vim to correctly determine the file type without having to put set ft=sh in his .vimrc. He stated that he cannot have #! in the file, and I was simply curious what the reason was (mostly whether it was a technical or procedural). ...Marvin -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
