On 06/03/2018 11:01 AM, Brandon Allbery wrote:
Is there something missing in the examples at the link?

Well, a bit.  When I see

    chmod 0o755, <myfile1  myfile2>;

I think `myfile1` and `myfile2` are "functions", not
data.

I instead look for something like

    chmod 0o755, < $myfile1   $myfile2 >;
or  chmod 0o755, < "myfile1"  "myfile2" >;

And to make matter worse, the example does not work:

$ touch a b c
$ p6 'chmod 0o777 < a b c >;'
===SORRY!=== Error while compiling -e
Preceding context expects a term, but found infix > instead.
at -e:1
------> chmod 0o777 < a b c >⏏;


$ p6 'chmod 0o777 < "a" "b" "c" >;'
===SORRY!=== Error while compiling -e
Two terms in a row
at -e:1
------> chmod 0o777 < "a"⏏ "b" "c" >;
    expecting any of:
        infix
        infix stopper
        postfix
        statement end
        statement modifier
        statement modifier loop


$ p6 'chmod 0o777 < "a", "b", "c" >;'
===SORRY!=== Error while compiling -e
Missing required term after infix
at -e:1
------> chmod 0o777 < "a", "b", "c" >⏏;
    expecting any of:
        prefix
        term

Reply via email to