summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-09-24 11:51:11 +0200
committerLeah Neukirchen <leah@vuxu.org>2018-09-24 11:51:11 +0200
commit6bb8e0534c054b5d3744ac7aefd179b9613bc262 (patch)
tree41d2a3c3f11e104c563ffb92f8f89599fad1c027
parent2e5e49e3e925473f675bc32ae4f7755a16245939 (diff)
downloadtap3-master.tar.gz
tap3-master.tar.xz
tap3-master.zip
only keep first line of description by erasing all the rest HEAD master
-rwxr-xr-xtap32
1 files changed, 1 insertions, 1 deletions
diff --git a/tap3 b/tap3
index bf6f564..bfb9bc6 100755
--- a/tap3
+++ b/tap3
@@ -56,7 +56,7 @@ my $err = gensym;
 my $pid = open3($wtr, $rdr, $err, "/bin/sh", "-c", $cmd);
 
 my $desc = shift || $cmd;
-$desc =~ s/\n.*//;
+$desc =~ s/\n.*//g;
 
 print $wtr $input  if (defined($input));
 close $wtr;