On 2008-10-26, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hello All,
> 
> I'm looking for an equivalent of the 'touch' command to keep files in
> sync for a script that I'm developing. The 'rename' command only
> changes the last accessed time. Ofcourse, I don't want to read and
> write the file back; that would beat the purpose. I would appreciate
> any other suggestions or tricks....

How about this?

   :call system('touch ' . filename)

Regards,
Gary


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

Raspunde prin e-mail lui