Does anyone know how to include a pound-sign (#) in filter command arguments?
Vim seems to replace # with the name of the file being edited, and I want to 
pass it through literally.

Quoting it as "#" or '#' does not seem to help (it is still replaced by the 
file name), 
and \# (backslash pound) results in a shell syntax error.


I want to re-format block comments in shell scripts using the 'fmt' command.
The "#" at the start of each line means that the command should be

   <first>,<last>! fmt -p #

Thanks for any help...
-Jim

P.S. I'm using vim 7.1 in ubuntu 8.10


      
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to