bashvimdiff

How to apply column before vimdiff


if I have 2 files, file_a and file_b, how can I vimdiff the two files after applying column -t to both of them.


Solution

  • You can use Process Substitution:

    vimdiff <(column -t file_a) <(column -t file_b)