This commit is contained in:
Mike Daines committed 2013-09-13 12:15:52 -04:00
1 parent 41a4968c90
commit fe99532f8b
1 file changed
+1 -1
+1 -1
View File
@@ -1066,7 +1066,7 @@ sections:
produces its sum, and the `length` expression is given the array and produces its sum, and the `length` expression is given the array and
produces its length. produces its length.
So, there's generally a cleaner way to solve most problems in jq that So, there's generally a cleaner way to solve most problems in jq than
defining variables. Still, sometimes they do make things easier, so jq defining variables. Still, sometimes they do make things easier, so jq
lets you define variables using `expression as $variable`. All lets you define variables using `expression as $variable`. All
variable names start with `$`. Here's a slightly uglier version of the variable names start with `$`. Here's a slightly uglier version of the