From 5e0f34848819c84c5adad2d7cd57a875e38eb6da Mon Sep 17 00:00:00 2001 From: wellweek Date: Fri, 8 Mar 2024 14:32:44 +0800 Subject: [PATCH] remove repetitive words Signed-off-by: wellweek --- pkg/yqlib/doc/operators/headers/slice-array.md | 2 +- pkg/yqlib/doc/operators/slice-array.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/yqlib/doc/operators/headers/slice-array.md b/pkg/yqlib/doc/operators/headers/slice-array.md index 7f2487c8..87307bd1 100644 --- a/pkg/yqlib/doc/operators/headers/slice-array.md +++ b/pkg/yqlib/doc/operators/headers/slice-array.md @@ -2,4 +2,4 @@ The slice array operator takes an array as input and returns a subarray. Like the `jq` equivalent, `.[10:15]` will return an array of length 5, starting from index 10 inclusive, up to index 15 exclusive. Negative numbers count backwards from the end of the array. -You may leave out the first or second number, which will will refer to the start or end of the array respectively. +You may leave out the first or second number, which will refer to the start or end of the array respectively. diff --git a/pkg/yqlib/doc/operators/slice-array.md b/pkg/yqlib/doc/operators/slice-array.md index 40ebea49..9b89210b 100644 --- a/pkg/yqlib/doc/operators/slice-array.md +++ b/pkg/yqlib/doc/operators/slice-array.md @@ -2,7 +2,7 @@ The slice array operator takes an array as input and returns a subarray. Like the `jq` equivalent, `.[10:15]` will return an array of length 5, starting from index 10 inclusive, up to index 15 exclusive. Negative numbers count backwards from the end of the array. -You may leave out the first or second number, which will will refer to the start or end of the array respectively. +You may leave out the first or second number, which will refer to the start or end of the array respectively. ## Slicing arrays Given a sample.yml file of: