Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes last word variants, closes #3024
Also false positives have been taken care of or circumvented. Closes #2966
  • Loading branch information
JJ committed Sep 22, 2019
1 parent 54a8abe commit ecdfd66
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion doc/Language/typesystem.pod6
Expand Up @@ -173,7 +173,7 @@ that is mixed in.
=head4 Metaclass
To test if a given type object is a class, test the meta object method C<.HOW>
To test if a given type object is a class, test the metaobject method C<.HOW>
against L<Metamodel::ClassHOW|/type/Metamodel::ClassHOW>.
class C {};
Expand Down
2 changes: 1 addition & 1 deletion doc/Type/Mu.pod6
Expand Up @@ -365,7 +365,7 @@ say $p.perl;
In this code, C<bless>, called within C<Point.new>, is eventually calling
C<BUILD> with the same parameters. We have to create a convoluted way of using
the C<$.ID> attribute using the meta-object protocol so that we can instantiate
the C<$.ID> attribute using the metaobject protocol so that we can instantiate
it and thus serve that C<new> constructor, which can be called on
C<Point-with-ID> since it is a subclass.
Expand Down
11 changes: 5 additions & 6 deletions doc/Type/independent-routines.pod6
Expand Up @@ -550,12 +550,11 @@ multi sub shell($cmd, :$in = '-', :$out = '-', :$err = '-',
Str :$enc, Str:D :$nl = "\n", :$cwd = $*CWD, :$env)
=end code
Runs a command through the system shell, which defaults to
C<%*ENV<ComSpec> /c> in Windows, C</bin/sh -c> otherwise. All shell meta
characters are interpreted by the shell, including pipes, redirects,
environment variable substitutions and so on. Shell escapes are a severe
security concern and can cause confusion with unusual file names. Use
L<run|/type/Proc#sub_run> if you want to be safe.
Runs a command through the system shell, which defaults to C<%*ENV<ComSpec> /c>
in Windows, C</bin/sh -c> otherwise. All shell metacharacters are interpreted by
the shell, including pipes, redirects, environment variable substitutions and so
on. Shell escapes are a severe security concern and can cause confusion with
unusual file names. Use L<run|/type/Proc#sub_run> if you want to be safe.
The return value is of L<type Proc|/type/Proc>.
Expand Down

0 comments on commit ecdfd66

Please sign in to comment.