I want to apply a batch file "foo" to a text file "bar". The commands in foo are of the form:
:% s/elephant/\\idx{&}/g (I can delete the : if that helps.) So given these facts what does the command line for vim or ex look like? In particular I need to know how to get both foo and bar into the command. This is to build an index for TeX. Linux of course. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: "Create Book Covers with Scribus" available at http://www.booklocker.com/books/4055.html -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.