diff options
-rwxr-xr-x | tap3 | 2 |
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; |