Tag Info

New answers tagged

1

The other person would just use patch, try first: patch --dry-run -p0 < file.diff You might need to adjust the -p option (or drop it) according to how you passed the folder parameters to 'diff' and from which folder you are applying the patch, check the patch manpage for more details. But usually -p0 will work just fine if the other person applies the ...


2

coderev can do that. Its top-level tool (coderev.sh) is set up to work with CVS or SVN repositories, but it's just a driver for codediff.py, which does all the actual work. To get side-by-side views, I think you have to do a directory diff, rather than a file diff. When I tried a single-file diff, it gave me an inline view of the diffs instead. Of course, ...


0

You can try vim with AnsiEsc.vim plugin to view ANSI colors through escape codes, then redirect standard output to vim -, activate :syntax on and convert the file to html by vim command: :TOhtml. The generated html file should have coloured output. To convert source code non-interactively into html, try the following command: vim -E -s -c "let ...


1

This might help some readers: In Windows, an older, little freeware program -- Third Dir -- does exactly what's being asked for here. It's no longer available via the developer, Robert Vašíček. But I'm sure it can be found via some repositories online. Here's the developer's description, which remains on his site: Third Dir: An unusual ...



Top 50 recent answers are included