summaryrefslogtreecommitdiffstats
path: root/guestfish-actions.pod
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-05-01 12:16:08 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-05-01 12:16:08 +0100
commitf47dafd23186938a22d41739d9bc695c7760b912 (patch)
treea6e5bf03a63cae2eeca269505724ae5c5ba11020 /guestfish-actions.pod
parentd9ea3e8d979c3ade1b21f27083788fd33fa3b1fa (diff)
downloadlibguestfs-f47dafd23186938a22d41739d9bc695c7760b912.tar.gz
libguestfs-f47dafd23186938a22d41739d9bc695c7760b912.tar.xz
libguestfs-f47dafd23186938a22d41739d9bc695c7760b912.zip
Generated code for 'equal' command.
Diffstat (limited to 'guestfish-actions.pod')
-rw-r--r--guestfish-actions.pod9
1 files changed, 9 insertions, 0 deletions
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