I need to perform diff against DBF (dBase database) files.
dvview does a decent job of turning them into text files, but I don't want to have to convert all the files to text just to perform a diff. So I want a way to do something like: diff --helper=dbview file1.dbf file2.dbf .. or diff $(dbview file1.dbf) $(dbview file2.dbf)
.. so that the files get converted to text on the fly. (Neither of those are remotely valid but hopely they get the idea across.)
Is there a good way to do this?
One objective is to do this using streams if possible, so that if file1.dbf and file2.dbf are very large there isn't any need to intermediate storage of files, but that isn't a huge problem if that's the only solution.
On 7 October 2016 at 12:30, Mark Rogers mark@more-solutions.co.uk wrote:
diff $(dbview file1.dbf) $(dbview file2.dbf)
There's something about formulating a question to post to a list that prompts the right Google search to find the answer yourself...
I was close with the above; what I need is: diff <( dbview file1.dbf ) <( dbview file2.dbf )
Clever stuff, this Linux thing!