From 9aed13199b127cae0149b19636f82022ae0da1e4 Mon Sep 17 00:00:00 2001 From: zeus Date: Tue, 13 Oct 2020 11:19:36 +0300 Subject: [PATCH] cut field --- cut/2_Cutting_Field/codeanswer | 2 +- cut/2_Cutting_Field/q-info | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cut/2_Cutting_Field/codeanswer b/cut/2_Cutting_Field/codeanswer index 55868d1..b34d7a9 100644 --- a/cut/2_Cutting_Field/codeanswer +++ b/cut/2_Cutting_Field/codeanswer @@ -1 +1 @@ -cut -d',' -f8,13 $LLO_DATAFILE | grep "[A-Z,a-z]" | head -5 +grep '199[0-9]' $LLO_DATAFILE | grep -E "Kukoc|Jordan" | cut -d',' -f3,5,7,9 diff --git a/cut/2_Cutting_Field/q-info b/cut/2_Cutting_Field/q-info index a52c4b9..8a90a9a 100644 --- a/cut/2_Cutting_Field/q-info +++ b/cut/2_Cutting_Field/q-info @@ -3,7 +3,7 @@ Try to run [source,sh] ---- -cut -d',' -f8,13 $LLO_DATAFILE | grep "[A-Z,a-z]" | head -5 +cut -d',' -f3,10 $LLO_DATAFILE | grep "A|B" | head -5 ---- and see the Results!