Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
8
Task/Copy-a-string/Jq/copy-a-string.jq
Normal file
8
Task/Copy-a-string/Jq/copy-a-string.jq
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
def demo:
|
||||
"abc" as $s # assignment of a string to a variable
|
||||
| $s as $t # $t points to the same string as $s
|
||||
| "def" as $s # This $s shadows the previous $s
|
||||
| $t # $t still points to "abc"
|
||||
;
|
||||
|
||||
demo
|
||||
Loading…
Add table
Add a link
Reference in a new issue