guix-patches
[Top][All Lists]
Advanced

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

[bug#49934] Hw-Probe


From: Raghav Gururajan
Subject: [bug#49934] Hw-Probe
Date: Sat, 25 Dec 2021 16:17:32 -0500

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.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]