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

Re: Pre-RFC: command-line flag for slurping

Thread Previous | Thread Next
From:
Dan Book
Date:
September 29, 2021 23:44
Subject:
Re: Pre-RFC: command-line flag for slurping
Message ID:
CABMkAVX2OtgGR5Whke60pks6WJxXbqNLKeNGdzkxaNoei8UHmA@mail.gmail.com
On Wed, Sep 29, 2021 at 6:46 PM Oodler 577 <oodler577@sdf-eu.org> wrote:

>
> If it's going to be equivalent to "-0777", which directly impacts the
> record
> separator, then "-R" is probably better. None of the mnemonics proposed to
> fit
> with "-g" are common parlance. It's also associated with creating
> executables
> containing extra-stuff for debuggers in gcc. That seems it could be
> helpful at
> some point for actual debugging, or at least seems a little dissonant for
> cli
> jockies.


I don't find either of the suggestions particularly intuitive, so have no
preference.

Then again, the general move towards long opts would make it pretty easy to
> do
> something like "--record-separator|--slurp". So it seems to me that
> supporting
> long opts is probably the real "ask".
>

This would be fantastic, but though this could serve as one of several
examples of its benefit, this would of course need to be its own RFC
proposed by someone willing to implement it, which so far we don't
have, and thus shouldn't hold up this or similar ideas.

-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