diff --git a/examples/front-matter.yaml b/examples/front-matter.yaml index 8ce5d4bc..8d513037 100644 --- a/examples/front-matter.yaml +++ b/examples/front-matter.yaml @@ -1,6 +1,6 @@ --- a: apple -b: bannana +b: banana --- hello there apples: great \ No newline at end of file diff --git a/pkg/yqlib/doc/operators/entries.md b/pkg/yqlib/doc/operators/entries.md index 232ff4df..4e2ce2dd 100644 --- a/pkg/yqlib/doc/operators/entries.md +++ b/pkg/yqlib/doc/operators/entries.md @@ -2,7 +2,7 @@ Similar to the same named functions in `jq` these functions convert to/from an object and an array of key-value pairs. This is most useful for performing operations on keys of maps. -Use `with_entries(op)` as a syntatic sugar for doing `to_entries | op | from_entries`. +Use `with_entries(op)` as a syntactic sugar for doing `to_entries | op | from_entries`. ## to_entries Map Given a sample.yml file of: diff --git a/pkg/yqlib/doc/operators/headers/entries.md b/pkg/yqlib/doc/operators/headers/entries.md index 85bdd262..731a8f78 100644 --- a/pkg/yqlib/doc/operators/headers/entries.md +++ b/pkg/yqlib/doc/operators/headers/entries.md @@ -2,4 +2,4 @@ Similar to the same named functions in `jq` these functions convert to/from an object and an array of key-value pairs. This is most useful for performing operations on keys of maps. -Use `with_entries(op)` as a syntatic sugar for doing `to_entries | op | from_entries`. +Use `with_entries(op)` as a syntactic sugar for doing `to_entries | op | from_entries`.