From 6bb8e0534c054b5d3744ac7aefd179b9613bc262 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 24 Sep 2018 11:51:11 +0200 Subject: only keep first line of description by erasing all the rest --- tap3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit 1.4.1