From 3fc7bd3d7d1d71e90a9cdc46cabac4b591c9cff4 Mon Sep 17 00:00:00 2001 From: Pete Riches Date: Wed, 9 Nov 2022 03:31:49 +1300 Subject: [PATCH] cut: use `--delimiter` with `--fields` (#9503) The `--delimiter`option only applies when separating fields. I have changed the second example to use `--fields` instead of `--characters`, which threw an error. --- pages/common/cut.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/cut.md b/pages/common/cut.md index 7630c47e5b..3917c41a89 100644 --- a/pages/common/cut.md +++ b/pages/common/cut.md @@ -9,7 +9,7 @@ - Print a range of each line with a specific delimiter: -`{{command}} | cut --delimiter="{{,}}" --{{characters}}={{1}}` +`{{command}} | cut --delimiter="{{,}}" --{{fields}}={{1}}` - Print a range of each line of the specific file: