From: Nicolas Williams <nico@cryptonector.com>
Date: Fri, 29 Nov 2013 19:26:54 +0000 (-0600)
Subject: Document string multiplication and division
X-Git-Tag: jq-1.4~76^2~19
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b634722c8a972311c18888233537280d5d506537;p=jq

Document string multiplication and division
---

diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml
index 2d516a4..8832ceb 100644
--- a/docs/content/3.manual/manual.yml
+++ b/docs/content/3.manual/manual.yml
@@ -463,10 +463,19 @@ sections:
 
           These operators only work on numbers, and do the expected.
 
+          Multiplying a string by a number produces the concatenation of
+          that string that many times.
+
+          Dividing a string by another splits the first using the second
+          as separators.
+
         examples:
           - program: '10 / . * 3'
             input: 5
             output: [6]
+          - program: '. / ", "'
+            input: '"a, b,c,d, e"'
+            output: ['["a","b,c,d","e"]']
 
       - title: `length`
         body: |