develooper Front page | perl.perl5.porters | Postings from June 2021

Re: RFC - Issue a warning "-np better written as -p"

Thread Previous | Thread Next
From:
Dan Book
Date:
June 17, 2021 06:53
Subject:
Re: RFC - Issue a warning "-np better written as -p"
Message ID:
CABMkAVUKVSBCHs0xbRiqk8OUXFqs2V+XUpg7kGooHEE3qDmTAw@mail.gmail.com
On Thu, Jun 17, 2021 at 2:50 AM Dan Book <grinnz@gmail.com> wrote:

> On Thu, Jun 17, 2021 at 2:22 AM Nicholas Clark <nick@ccl4.org> wrote:
>
>> Maybe we should warn on '-pn' - ie order matters too - '-n' flag ignored.
>>
>
> If this actually results in `-p` behavior being overridden, then I agree
> this specific ordering should cause a warning.
>

A brief test seems to show this case is fine - `-pn` and `-np` both result
in `-p` behavior.

-Dan

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About