summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-10-21 08:05:13 +0000
committerLaurent Bercot <ska@appnovation.com>2021-10-21 08:05:13 +0000
commit901efc65acfee5cad65a6ed84fc540c5ba6ebdf0 (patch)
tree1660395519da701c012ec63366afe3520b8d345a
parent918f416c4daecd1747faf99b4355742e4558da32 (diff)
downloadexecline-901efc65acfee5cad65a6ed84fc540c5ba6ebdf0.tar.xz
Fix case usage example
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--doc/case.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/case.html b/doc/case.html
index db7e983..a82eec8 100644
--- a/doc/case.html
+++ b/doc/case.html
@@ -101,7 +101,7 @@ in <em>regex</em>. </li>
emptyenv
case -N -- $1
{
- "\\([fo]+\\)bar\\(baz\\)" { /usr/bin/env }
+ "([fo]+)bar(baz)" { /usr/bin/env }
}
</pre>
@@ -111,7 +111,7 @@ to the output of the <tt>/usr/bin/env</tt> command:
</p>
<pre>#=2
-0=\([fo]+\)bar\(baz\)
+0=([fo]+)bar(baz)
1=foooo
2=baz
</pre>