On 23/01/2008, Dasn <[EMAIL PROTECTED]> wrote: I don't think "#!/usr/bin/env vim -S" is workable on all platforms. > > $ cat test.vim > #!/usr/bin/env vim -S > echo "this is a Vim script" > quit > $ chmod +x test.vim > $ ./test.vim > env: vim -S: No such file or directory >
Which platform are you on? On SunOS 5.9, using coreutils 5.94, I don't get your error message. However on Linux using coreutils 5.93, I do. If I run `/usr/bin/env vim -S` from the command-line on either platform, I don't get "No such file or directory". Only from within a script on my Linux platform do I get that. Even though the man page says I can supply arguments to the command. I'm leaning towards saying this is a bug in env. -- Erik Falor Registered Linux User #445632 http://counter.li.org --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
