Monday, August 18, 2014

compare and export results to textfile => # vim -d a b > c

Hi there,

I love using -d option comparing two files.


# vim -d a b

Result:
Line 1 Hello | Line 1 Bello <- highlight
Line 2 House | Line 2 House
Line 3 Mouse | Line 3 House <- highlight


Now I'd like export exactly this result to textfile seperated by | (pipe).


Would be great but that doesn't work:
# vim -d a b > c
Vim: Warning: Output is not to a terminal


Need help ;)

Best wishes

--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment