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

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

Thread Previous | Thread Next
Dan Book
September 29, 2021 23:44
Re: Pre-RFC: command-line flag for slurping
Message ID:
On Wed, Sep 29, 2021 at 6:46 PM Oodler 577 <> 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

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.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About