Comparing two /dev files fails.

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
kenorb
Posts: 3
Joined: Tue Apr 17, 2012 4:20 am

Comparing two /dev files fails.

Post by kenorb » Sat Jun 14, 2014 5:09 am

Example in bash:

Code: Select all

diffmerge <(echo string1) <(echo string2)
The error which DiffMerge gives:

Code: Select all

Pathname does not refer to a folder.
Pathname[0] is not a folder. [/dev/fd/63/]
But the standard diff handle that without any problem:

Code: Select all

$ diff -u <(echo string1) <(echo string2)
--- /dev/fd/63	2014-06-14 12:08:44.000000000 +0100
+++ /dev/fd/62	2014-06-14 12:08:44.000000000 +0100
@@ -1 +1 @@
-string1
+string2
Tested DiffMerge 4.2.0 on OSX.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Comparing two /dev files fails.

Post by Beth » Mon Jun 16, 2014 1:11 pm

In the second example, it looks like it drops off the final '/'. What happens if you change your strings to not end with '/' with DiffMerge?
Beth Kieler
SourceGear Technical Support

Post Reply