Ville Skyttä
998b4edb34
Grammar fixes ( #1877 )
2023-11-23 11:54:25 +11:00
Mike Farah
13d1bbb45f
Generic ast ( #1829 )
...
Remove dependency on yaml.Node for internal AST representation. Yaml decoder is now just another decoder.
2023-10-18 12:11:53 +11:00
Abel Sen
fa6fac1a76
Minor typos ( #1595 )
...
* Remove extra backtick
* Reword explanation of update
* Reword explanation of relative update
* Change "remaple" to "remain"
* Change "clovver" to "clobber"
* Reword explanation of update for comment operators
* Reword explanation of relative update for comment operators
* Change "array" to "expression"
* Change "the golangs" to "Golang's"
* Change "golangs" to "Golang's"
* Change "can durations" to "can add durations"
* Change "array scalars" to "arrays"
* Change "beit" to "be it"
* Fix typo in `eval` tip
* Fix typo in header for `has` operation
* Add space before pipe in `line` operator example
* Fix typos in explanation of deep array merges
* Change "is now used" to "is now used."
* Change "object," to "object."
* Changes "indexes" to "indices"
* Remove extraneous copied text from `..` article
* Reword explanation of `...` operator
* Change "your are" to "you are"
* Add link to `string` operator docs in `select` article
* Change "is a" to "parameter specifies" in `string` operators article
* Change "new line" to "newline"
* Change "golang regex" to "Golang's regex"
* Change "golang" to "Golang"
* Add period
* Remove comma in `subtract` article
* Remove duplicate number subtraction example
* Remove comma in `traverse` operator article
* Clarify use of brackets when `read`ing with special characters
2023-03-16 13:39:36 +11:00
Mike Farah
9af55d555b
Fixed handling of merging null #1501
2023-01-10 13:48:57 +11:00
Mike Farah
83c5e1bc83
Include blank new lines in leading header preprocessing #1462
2022-12-08 13:33:06 +11:00
Mike Farah
51b64e6cf3
Fixing relative merge bug #1333
2022-09-09 12:28:38 +10:00
Mike Farah
b4ca184108
Added new "c" flag to clobber custom tags when needed
2022-08-29 15:38:21 +10:00
Mike Farah
6bce23d9c2
Improved handling of trailing document comments
2022-05-25 10:54:03 +10:00
Mike Farah
b11075ec98
now assumes yaml idiomatic formatting when adding to empty maps/arrays
2022-04-15 08:27:22 +10:00
Mike Farah
0ffee92175
Fixed += with multiple matches #1145
2022-03-19 18:42:12 +11:00
Mike Farah
b80080a26d
Parameterised merge array by key example
2022-02-01 15:11:39 +11:00
Mike Farah
6e33132de9
Added support for *=
2022-01-22 16:40:17 +11:00
Mike Farah
a6c79f3410
Multiply, substract with custom types
2022-01-22 16:12:59 +11:00
Mike Farah
8c94a96ee0
New merge flag (n) to only merge in new fields ( #1038 )
2022-01-15 15:48:34 +11:00
Mike Farah
df32baedf1
Added XML decoder ( #1044 )
2021-12-21 15:02:07 +11:00
Mike Farah
c17cf82791
Improving docs
2021-12-05 13:03:38 +11:00
Mike Farah
176fec639d
Better merge example
2021-11-29 21:28:25 +11:00
Mike Farah
f5f148cadb
Better formatting of merge arrays example
2021-11-29 21:06:09 +11:00
Mike Farah
418bd1a806
Added credit for merge by array example
2021-11-29 20:56:04 +11:00
Mike Farah
4c7c0b83aa
Better merge array by key example
2021-11-29 20:53:36 +11:00
Mike Farah
51e946e6ff
Better merge array by key example
2021-11-29 20:46:12 +11:00
Mike Farah
33871bf007
Fixed header preprocessing!
2021-11-14 10:59:50 +11:00
Mike Farah
63f54563ea
wip
2021-11-14 10:59:50 +11:00
Mike Farah
0557439765
Update document generation script
2021-11-03 22:37:07 +11:00
Mike Farah
ed4d888bfa
Speed up multiply
2021-10-11 14:46:46 +11:00
Mike Farah
4ba96d902b
Fixed document header/footer comment handling when merging
2021-08-17 09:54:12 +10:00
Mike Farah
eeac03a437
Fixed merging arrays with merge anchors #899
2021-07-22 20:58:58 +10:00
Mike Farah
d1b6a6fdd9
Fixed merge bug https://github.com/mikefarah/yq/issues/880
2021-07-07 14:29:24 +10:00
Mike Farah
fa21510194
Moved multiply doc example lower
2021-04-29 12:03:56 +10:00
Mike Farah
f541194250
Added complex merge example
2021-04-28 20:35:10 +10:00
Mike Farah
daf0bfe1b9
Added string substitute command
2021-04-15 16:09:47 +10:00
Mike Farah
21a9e506cb
Fixed merge comments
2021-03-19 12:54:03 +11:00
Mike Farah
81136ad57e
Arrays no longer deeply merge by defauly, like jq
2021-02-18 11:16:54 +11:00
Mike Farah
c4c8e5e7b0
Preserve comments on map keys
2021-02-11 10:58:40 +11:00
Mike Farah
429c3ca65b
Fixed merge dropping anchors
2021-02-11 10:58:40 +11:00
Mike Farah
c77001f969
Can add and merge append to null
2021-02-11 10:58:40 +11:00
Mike Farah
6c14a80991
Fixed cross-function combinatorial bug
2021-02-11 10:58:40 +11:00
Mike Farah
76bd1896e9
wip
2021-02-11 10:58:40 +11:00
Mike Farah
c63801a8a5
thoughts
2021-02-11 10:58:40 +11:00
Mike Farah
91c72d2d9e
Added merge if empty
2021-02-11 10:58:40 +11:00
Mike Farah
55712afea6
Merge now copies anchor names
2021-02-11 10:58:40 +11:00
Mike Farah
3a030651a3
Added append equals, merge append. Fixed creating numeric arrays
2020-11-28 11:24:16 +11:00
Mike Farah
3cecb4e383
wip
2020-11-28 10:41:09 +11:00
Mike Farah
5205f01248
Fixed recursive decent on empty objects/arrays
2020-11-25 15:01:12 +11:00
Mike Farah
aed598c736
Fixing docs
2020-11-22 13:16:54 +11:00
Mike Farah
af2aa9ad91
more docs
2020-11-15 10:50:30 +11:00
Mike Farah
05520c2168
more tests
2020-11-06 11:45:18 +11:00
Mike Farah
b1f139c965
refactored
2020-11-04 10:48:43 +11:00