Re: [PATCH v3 14/20] t/lib-gpg: refactor `sanitize_pgp()` to not depend on Perl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 01, 2025 at 08:56:41PM +0200, Johannes Schindelin wrote:
> 
> Hi Patrick,
> 
> On Thu, 27 Mar 2025, Patrick Steinhardt wrote:
> 
> > The `sanitize_pgp()` test helper uses Perl to strip PGP signatures from
> > stdin. Refactor it to instead use awk(1) so that we drop the
> > PERL_TEST_HELPERS prerequisite in users of this library.
> 
> It's my fault that this commit message is no longer correct because I
> talked you into using `sed` instead...
> 
> Sorry,
> Johannes

No need to be sorry, should've catched that myself :) Thanks for the
suggestion in the first place, it made the new logic quite a bit easier
to read!

Patrick




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux