On Sun, Aug 29, 2021 at 10:01:00AM -0400, Antwane Mason wrote:
> > should use string-join instead of string-append
> 
> Thanks for the suggestion, but I know that use of string-append is correct
> based on example code from
> https://guix.gnu.org/manual/en/html_node/Base-Services.html.
> […]
>     (string-append
> "ACTION==\"add\", SUBSYSTEM==\"usb\", "
>                    "ATTR{product}==\"Example\", "
>                    "RUN+=\"/path/to/script\"")))

The difference is that the manual uses spaces at the end of each
string except the last.

You can use string-append instead of string-join, but then you need a
space at the end of the strings.

Regards,
Florian

Reply via email to