Wikia

Vim Tips Wiki

Changes: Script:1797

Edit

Back to page

(Created page with "The svnvimdiff script requires tempfile command. But it doesn't exist in my CentOS and FreeBSD system. So I modified the script: <code>#patch=`tempfile -p $suffix` #orig=`tempfi...")
 
(Standard format.)
 
Line 1: Line 1:
The svnvimdiff script requires tempfile command. But it doesn't exist in my CentOS and FreeBSD system. So I modified the script:
+
{{ScriptComments|svnvimdiff: svn diff + vimdiff}}
   
<code>#patch=`tempfile -p $suffix`
+
==Patch for tempfile==
  +
The svnvimdiff script requires tempfile command. But it doesn't exist in my CentOS and FreeBSD system. So I modified the script:
  +
<pre>
  +
#patch=`tempfile -p $suffix`
 
#orig=`tempfile -p $suffix`
 
#orig=`tempfile -p $suffix`
 
patch=`mktemp -t $suffix.XXXXXXXXXX`
 
patch=`mktemp -t $suffix.XXXXXXXXXX`
 
orig=`mktemp -t $suffix.XXXXXXXXXX`
 
orig=`mktemp -t $suffix.XXXXXXXXXX`
</code>
+
</pre>
  +
  +
==Comments==

Latest revision as of 08:27, May 15, 2012

Use this page to discuss script 1797 svnvimdiff: svn diff + vimdiff

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Patch for tempfileEdit

The svnvimdiff script requires tempfile command. But it doesn't exist in my CentOS and FreeBSD system. So I modified the script:

#patch=`tempfile -p $suffix`
#orig=`tempfile -p $suffix`
patch=`mktemp -t $suffix.XXXXXXXXXX`
orig=`mktemp -t $suffix.XXXXXXXXXX`

CommentsEdit

Around Wikia's network

Random Wiki