@@ -14,7 +14,7 @@ instance, in this way:
14
14
my $argfiles = IO::ArgFiles.new(@*ARGS);
15
15
.say for $argfiles.lines;
16
16
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
18
18
the files with that extension in the directory. However, that is totally
19
19
equivalent to:
20
20
@@ -41,7 +41,7 @@ examples above can be simplified like so:
41
41
# or
42
42
say $*ARGFILES.slurp;
43
43
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
45
45
another file (named, say C < sonnet18.txt > with the contents:
46
46
47
47
= for code :lang<text>
@@ -50,7 +50,7 @@ Shall I compare thee to a summer's day?
50
50
Running the command
51
51
52
52
= for code :lang<text>
53
- $ raku argfiles.p6 sonnet18.txt
53
+ $ raku argfiles.raku sonnet18.txt
54
54
55
55
will then give the output
56
56
@@ -66,7 +66,7 @@ sub MAIN () {
66
66
.say for $*ARGFILES.lines;
67
67
}
68
68
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
70
70
totally equivalent to:
71
71
72
72
= for code
0 commit comments