~sircmpwn/rc-devel

rc(1): Escape backticks v1 APPLIED

Max Schillinger: 1
 rc(1): Escape backticks

 1 files changed, 2 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/rc-devel/patches/46376/mbox | git am -3
Learn more about email & git

[PATCH] rc(1): Escape backticks Export this patch

Otherwise `{} is rendered as ‘{} with UTF-8 locale.
Requires scdoc's latest commit (ca7aad3) to get handled
correctly.
---
 doc/rc.1.scd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/rc.1.scd b/doc/rc.1.scd
index e2e47db..df94a70 100644
--- a/doc/rc.1.scd
+++ b/doc/rc.1.scd
@@ -50,7 +50,7 @@ variable expansion, i.e. variable references using the *$* operators are
expanded by the shell. Unquoted characters are interpreted as arguments if they
do not include any of the following special characters:

	\[ ] ( ) { } < > ' " & | ! ; = $ # @ ` \\
	\[ ] ( ) { } < > ' " & | ! ; = $ # @ \` \\

Escape sequences within quoted strings (either single or double quote) are as
follows:
@@ -205,7 +205,7 @@ following operators are supported:

@{ _script_ } ++
@"_string_"{ _script_ }
	Equivalent to `{}, but a sub-shell is used.
	Equivalent to \`{}, but a sub-shell is used.

<{ _script_ } ++
>{ _script_ }
-- 
2.42.0
Thanks!

To git@git.sr.ht:~sircmpwn/rc
   c8f393b..f408a95  master -> master