From f47dafd23186938a22d41739d9bc695c7760b912 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" <rjones@redhat.com> Date: Fri, 1 May 2009 12:16:08 +0100 Subject: Generated code for 'equal' command. --- guestfish-actions.pod | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'guestfish-actions.pod') diff --git a/guestfish-actions.pod b/guestfish-actions.pod index 2d9c5e8d..f1b624b2 100644 --- a/guestfish-actions.pod +++ b/guestfish-actions.pod @@ -469,6 +469,15 @@ Setting C<whattodrop> to 3 should drop everything. This automatically calls L<sync(2)> before the operation, so that the maximum guest memory is freed. +=head2 equal + + equal file1 file2 + +This compares the two files C<file1> and C<file2> and returns +true if their content is exactly equal, or false otherwise. + +The external L<cmp(1)> program is used for the comparison. + =head2 exists exists path -- cgit