Skip to content

Commit a58eac0

Browse files
authored
Use 'raku' command and '.raku' file extension (#3507)
1 parent 58009e8 commit a58eac0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/Type/IO/ArgFiles.pod6

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ instance, in this way:
1414
my $argfiles = IO::ArgFiles.new(@*ARGS);
1515
.say for $argfiles.lines;
1616
17-
If invoked with C<perl6 io-argfiles.p6 *.p6> it will print the contents of all
17+
If invoked with C<raku io-argfiles.raku *.raku> it will print the contents of all
1818
the files with that extension in the directory. However, that is totally
1919
equivalent to:
2020
@@ -41,7 +41,7 @@ examples above can be simplified like so:
4141
# or
4242
say $*ARGFILES.slurp;
4343
44-
Save one of the variations above in a file, say C<argfiles.p6>. Then create
44+
Save one of the variations above in a file, say C<argfiles.raku>. Then create
4545
another file (named, say C<sonnet18.txt> with the contents:
4646
4747
=for code :lang<text>
@@ -50,7 +50,7 @@ Shall I compare thee to a summer's day?
5050
Running the command
5151
5252
=for code :lang<text>
53-
$ raku argfiles.p6 sonnet18.txt
53+
$ raku argfiles.raku sonnet18.txt
5454
5555
will then give the output
5656
@@ -66,7 +66,7 @@ sub MAIN () {
6666
.say for $*ARGFILES.lines;
6767
}
6868
69-
which can be used as C<cat *.p6 | perl6 argfiles-main.p6>, for instance, is
69+
which can be used as C<cat *.raku | raku argfiles-main.raku>, for instance, is
7070
totally equivalent to:
7171
7272
=for code

0 commit comments

Comments
 (0)