GNU bug report logs - #49934
Hw-Probe

Previous Next

Package: guix-patches;

Reported by: phodina <phodina <at> protonmail.com>

Date: Sat, 7 Aug 2021 22:00:01 UTC

Severity: normal

Tags: patch

Merged with 50283

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #48 received at 49934 <at> debbugs.gnu.org (full text, mbox):

From: Raghav Gururajan <rg <at> raghavgururajan.name>
To: Ricardo Wurmus <rekado <at> elephly.net>, 49934 <at> debbugs.gnu.org
Subject: Re: Hw-Probe
Date: Sat, 25 Dec 2021 16:17:32 -0500
[Message part 1 (text/plain, inline)]
Hi Ricardo!

> --8<---------------cut here---------------start------------->8---
> (substitute* "hw-probe.pl"
>    (("Cmd\\(\"([^\"]+)" _ command)
>     (string-append "Cmd(\"" (which command))))
> --8<---------------cut here---------------end--------------->8---

Thanks for the snippet and explanation.

I am wondering these,
[1] Does require import of specific modules?
[2] If `(which command)`'s output is empty, will it return #f?

Regards,
RG.
[OpenPGP_signature (application/pgp-signature, attachment)]

This bug report was last modified 3 years and 27 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.