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

Re: getting DIFF to work in WINDOWS

Expand Messages
  • Benji Fisher
    ... Is ed style the standard style? I think you want context diffs. If you want to try another diff, known to work with vim on W95, try my tip:
    Message 1 of 4 , Jan 31, 2002
      Jonah wrote:
      >
      > i'm pretty sure the output format is correct: csdiff.exe,
      > with the "Toutfile" option, produces standard unix "ed"
      > style output. I think somehow I'm doing something wrong
      > in the function I use for my "diffexpr".
      >
      > i just can't figure out what it is.
      >
      > jonah
      >
      > *** BEGIN CODE *****
      >
      > set diffexpr=MyDiff()
      > function! MyDiff()
      > silent execute "!csdiff.exe /Toutfile " . v:fname_in . " " . v:fname_new .
      > " > " . v:fname_out
      > endfunction
      >
      > *** END CODE *****

      Is "ed" style the standard style? I think you want "context" diffs. If
      you want to try another diff, known to work with vim on W95, try my tip:
      http://vim.sourceforge.net/tips/tip.php?tip_id=128

      HTH --Benji Fisher
    Your message has been successfully submitted and would be delivered to recipients shortly.