patch for tarman handling of multi-line descriptions
[debian/tar] / debian / tarman
index 74df4ff55c425f10f693f29688314c00e79f8744..70169311191018dfb5dc1ea131b86b509a2798ea 100644 (file)
@@ -94,6 +94,15 @@ while (<>) {
                                        $$lastoperation{'description'} .= $c3[1];
                                }
                        }
+                       if (!$nflag && !/\}/) {
+                               while (<>) {
+                                       my @extended_desc = split('"', $_);
+                                       $$lastoperation{'description'} .= $extended_desc[1];
+                                       if (/\}/) {
+                                               last;
+                                       }
+                               }
+                       }
                }
        }
        if ($mode == 3 ) {
@@ -275,7 +284,7 @@ $command_string
 stores and extracts files from a tape or disk archive.
 .Pp
 The first argument to
-.B tar
+tar
 should be a function; either one of the letters
 .Cm $short_letters ,
 or one of the long function names.