Loading ...
Sorry, an error occurred while loading the content.

Re: assign current line under cursor to extern program

Expand Messages
  • jerikmail@googlemail.com
    Hi, [.w !foo.sh explanation] ... Right now, it works fine for me with the assigned command-line arguments. Furthermore I dont know how to write a shell/ruby
    Message 1 of 8 , Dec 1, 2007
    • 0 Attachment
      Hi,

      [.w !foo.sh explanation]

      > On the other hand, if foo.sh is something you have written yourself,
      > another way to solve this problem would be to write foo.sh to accept
      > its data from standard input instead of as command-line arguments.
      > Then you _could_ just execute
      >
      > :.w !./foo.sh

      Right now, it works fine for me with the assigned command-line
      arguments. Furthermore I dont know how to write a shell/ruby script to
      accept data from input standard.

      But thanks for the tip and explanation.

      cheers -- jerik
      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.