Skip to content

Commit ecdfd66

Browse files
committed
Fixes last word variants, closes #3024
Also false positives have been taken care of or circumvented. Closes #2966
1 parent 54a8abe commit ecdfd66

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

doc/Language/typesystem.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ that is mixed in.
173173
174174
=head4 Metaclass
175175
176-
To test if a given type object is a class, test the meta object method C<.HOW>
176+
To test if a given type object is a class, test the metaobject method C<.HOW>
177177
against L<Metamodel::ClassHOW|/type/Metamodel::ClassHOW>.
178178
179179
class C {};

doc/Type/Mu.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ say $p.perl;
365365
366366
In this code, C<bless>, called within C<Point.new>, is eventually calling
367367
C<BUILD> with the same parameters. We have to create a convoluted way of using
368-
the C<$.ID> attribute using the meta-object protocol so that we can instantiate
368+
the C<$.ID> attribute using the metaobject protocol so that we can instantiate
369369
it and thus serve that C<new> constructor, which can be called on
370370
C<Point-with-ID> since it is a subclass.
371371

doc/Type/independent-routines.pod6

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -550,12 +550,11 @@ multi sub shell($cmd, :$in = '-', :$out = '-', :$err = '-',
550550
Str :$enc, Str:D :$nl = "\n", :$cwd = $*CWD, :$env)
551551
=end code
552552
553-
Runs a command through the system shell, which defaults to
554-
C<%*ENV<ComSpec> /c> in Windows, C</bin/sh -c> otherwise. All shell meta
555-
characters are interpreted by the shell, including pipes, redirects,
556-
environment variable substitutions and so on. Shell escapes are a severe
557-
security concern and can cause confusion with unusual file names. Use
558-
L<run|/type/Proc#sub_run> if you want to be safe.
553+
Runs a command through the system shell, which defaults to C<%*ENV<ComSpec> /c>
554+
in Windows, C</bin/sh -c> otherwise. All shell metacharacters are interpreted by
555+
the shell, including pipes, redirects, environment variable substitutions and so
556+
on. Shell escapes are a severe security concern and can cause confusion with
557+
unusual file names. Use L<run|/type/Proc#sub_run> if you want to be safe.
559558
560559
The return value is of L<type Proc|/type/Proc>.
561560

0 commit comments

Comments
 (0)