This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Archive-Tar to CPAN version 1.78
[perl5.git] / cpan / Archive-Tar / bin / ptardiff
index 21e7d6c..5205d63 100644 (file)
@@ -21,12 +21,12 @@ my $tar  = Archive::Tar->new( $arch )   or die "Couldn't read '$arch': $!";
 foreach my $file ( $tar->get_files ) {
     next unless $file->is_file;
     my $name = $file->name;
-    
-    diff(   \($file->get_content), $name, 
+
+    diff(   \($file->get_content), $name,
             {   FILENAME_A  => $name,
                 MTIME_A     => $file->mtime,
                 OUTPUT      => \*STDOUT
-            } 
+            }
     );
 }
 
@@ -38,27 +38,27 @@ sub usage {
 
 Usage:  ptardiff ARCHIVE_FILE
         ptardiff -h
-    
+
     ptardiff is a small program that diffs an extracted archive
     against an unextracted one, using the perl module Archive::Tar.
-    
-    This effectively lets you view changes made to an archives contents. 
-    
+
+    This effectively lets you view changes made to an archives contents.
+
     Provide the progam with an ARCHIVE_FILE and it will look up all
     the files with in the archive, scan the current working directory
     for a file with the name and diff it against the contents of the
     archive.
 
-    
+
 Options:
     h   Prints this help message
 
 
 Sample Usage:
 
-    $ tar -xzf Acme-Buffy-1.3.tar.gz 
+    $ tar -xzf Acme-Buffy-1.3.tar.gz
     $ vi Acme-Buffy-1.3/README
-    
+
     [...]
 
     $ ptardiff Acme-Buffy-1.3.tar.gz > README.patch
@@ -70,7 +70,7 @@ See Also:
     Archive::Tar
 
     ] . $/;
-}    
+}
 
 
 
@@ -82,9 +82,9 @@ ptardiff - program that diffs an extracted archive against an unextracted one
 
     ptardiff is a small program that diffs an extracted archive
     against an unextracted one, using the perl module Archive::Tar.
-    
-    This effectively lets you view changes made to an archives contents. 
-    
+
+    This effectively lets you view changes made to an archives contents.
+
     Provide the progam with an ARCHIVE_FILE and it will look up all
     the files with in the archive, scan the current working directory
     for a file with the name and diff it against the contents of the
@@ -95,7 +95,7 @@ ptardiff - program that diffs an extracted archive against an unextracted one
     ptardiff ARCHIVE_FILE
     ptardiff -h
 
-    $ tar -xzf Acme-Buffy-1.3.tar.gz 
+    $ tar -xzf Acme-Buffy-1.3.tar.gz
     $ vi Acme-Buffy-1.3/README
     [...]
     $ ptardiff Acme-Buffy-1.3.tar.gz > README.patch