Skip to content

Commit

Permalink
Revises for #2632, reflows
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ committed Mar 2, 2019
1 parent 0a8c05b commit 4b74096
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/Type/Proc.pod6
Expand Up @@ -13,7 +13,7 @@ the exit code. It is typically created through the C<run> subroutine:
=for code
my $proc = run 'echo', 'Hallo world', :out;
my $captured-output = $proc.out.slurp: :close;
say "Output was $captured-output.perl()"; # OUTPUT: «Output was "Hallo world\n"␤»
say "Output was $captured-output.perl()";# OUTPUT: «Output was "Hallo world\n"␤»
Piping several commands is easy too. To achieve the equivalent of the
pipe C<echo "Hello, world" | cat -n> in Perl 6, and capture the output
Expand Down Expand Up @@ -165,8 +165,8 @@ sub run(
--> Proc:D)
Runs an external command I<without involving a shell> and returns a
L<Proc|/type/Proc> object. By default, the external command will print to standard
output and error, and read from standard input.
L<Proc|/type/Proc> object. By default, the external command will print to
standard output and error, and read from standard input.
run 'touch', '>foo.txt'; # Create a file named >foo.txt
Expand Down

0 comments on commit 4b74096

Please sign in to comment.