[PATCH] doc: Use the shell dollar substitution.

  • Done
  • quality assurance status badge
Details
3 participants
  • Julien Lepiller
  • Maxim Cournoyer
  • zimoun
Owner
unassigned
Submitted by
zimoun
Severity
normal
Z
Z
zimoun wrote on 16 May 2022 00:31
(address . guix-patches@gnu.org)(name . zimoun)(address . zimon.toutoune@gmail.com)
20220515223125.128354-1-zimon.toutoune@gmail.com
Follow up of beaf701d65e9f94d0539e705d6f58a65313c5655.

* doc/guix.texi: Replace the shell backquote deprecated substitution by the
dollar one.
---
doc/guix.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (17 lines)
diff --git a/doc/guix.texi b/doc/guix.texi
index e1fb50a634..c162d3a79d 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -3451,7 +3451,7 @@ The typical use case is to define these environment variables in the
shell:
@example
-$ eval `guix package --search-paths`
+$ eval $(guix package --search-paths)
@end example
@var{kind} may be one of @code{exact}, @code{prefix}, or @code{suffix},

base-commit: ebb43029506d994bee0c2b890881fd61a0b0c202
--
2.35.1
M
M
Maxim Cournoyer wrote on 18 May 2022 06:41
(name . zimoun)(address . zimon.toutoune@gmail.com)(address . 55438@debbugs.gnu.org)
87k0aj1mhs.fsf@gmail.com
Hi Simon!

zimoun <zimon.toutoune@gmail.com> writes:

Toggle quote (5 lines)
> Follow up of beaf701d65e9f94d0539e705d6f58a65313c5655.
>
> * doc/guix.texi: Replace the shell backquote deprecated substitution by the
> dollar one.

I'm nitpicking, but per "info bash", I'd reword the commit summary as
"Use new-style command substitution". And "Replace the shell old-style
command substitution with the new-style one."

With this, I'd be happy to push :-)

Thanks!

Maxim
J
J
Julien Lepiller wrote on 5 Jun 2022 13:40
Re: [bug#55438] [PATCH] doc: Use the shell dollar substitution.
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)
20220605134012.5a81cdca@sybil.lepiller.eu
Le Wed, 18 May 2022 00:41:03 -0400,
Maxim Cournoyer <maxim.cournoyer@gmail.com> a écrit :

Toggle quote (22 lines)
> Hi Simon!
>
> zimoun <zimon.toutoune@gmail.com> writes:
>
> > Follow up of beaf701d65e9f94d0539e705d6f58a65313c5655.
> >
> > * doc/guix.texi: Replace the shell backquote deprecated
> > substitution by the dollar one.
>
> I'm nitpicking, but per "info bash", I'd reword the commit summary as
> "Use new-style command substitution". And "Replace the shell
> old-style command substitution with the new-style one."
>
> With this, I'd be happy to push :-)
>
> Thanks!
>
> Maxim
>
>
>

I talked with Simon who agreed with the change, so pushed to master as
e584e58e925ca9423b46f636f08ad87c8d12a229, thanks!
Closed
?