From d1f217b68fc8ef7c73c4f3c3ad6877e3a3b02da8 Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Mon, 2 May 2016 13:02:22 +0100 Subject: [PATCH] cut: use a different separator characters --- pages/common/cut.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/common/cut.md b/pages/common/cut.md index e42a8b597..2795f9344 100644 --- a/pages/common/cut.md +++ b/pages/common/cut.md @@ -14,14 +14,14 @@ `cut -c{{3-}}` -- Cut out the fifth field, split on the colon character of each line: +- Cut out the fifth field, split on the colon characters of each line: `cut -d'{{:}}' -f{{5}}` -- Cut out the fields five and 10, split on the colon character of each line: +- Cut out the fields five and 10, split on the semicolon characters of each line: -`cut -d'{{:}}' -f{{5,10}}` +`cut -d'{{;}}' -f{{5,10}}` -- Cut out the fields five through 10, split on the colon character of each line: +- Cut out the fields five through 10, split on the space characters of each line: -`cut -d'{{:}}' -f{{5-10}}` +`cut -d'{{ }}' -f{{5-10}}`