Marvin Renich, Wed 2012-01-11 @ 08:43:06-0500: > * J.Z. <bosto...@gmail.com> [120110 19:43]: > > thanks, set ft=sh did the trick. I cannot use.sh extension for files > > for ksh funtions, and cannot have #! in them also. > > I'm curious why you can't use a shebang line (#!) in ksh. I haven't > used ksh since the early '90s, but a quick test here seems to work fine.
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.
pgpeVj70rgWL3.pgp
Description: PGP signature