From f6d861a620006a992e74240910fb7992a95780dd Mon Sep 17 00:00:00 2001
From: "jacques.dainat_ird.fr" <jacques.dainat@ird.fr>
Date: Thu, 6 Mar 2025 15:53:45 +0000
Subject: [PATCH] cleanify question

---
 docs/pages/bash_manip/bash_manip-6-awk.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/pages/bash_manip/bash_manip-6-awk.md b/docs/pages/bash_manip/bash_manip-6-awk.md
index 796f480..e08333a 100644
--- a/docs/pages/bash_manip/bash_manip-6-awk.md
+++ b/docs/pages/bash_manip/bash_manip-6-awk.md
@@ -121,7 +121,7 @@ awk -v var="$my_var" '$2 == var { print $0 }' file.txt
     awk -F ';' 'NR > 1 {print $0}' nat2021.csv | head
     ```
 
-!!! question "Print second column of the file? In a second time try to remove redundancy (using `cut`, `sort` and `uniq`). In a third time count number of lines."
+!!! question "Print second column of the file? In a second time try to remove redundancy (using `sort` and `uniq`). In a third time count number of lines."
 
 
 ??? example "Click to show the solution"  
@@ -131,12 +131,12 @@ awk -v var="$my_var" '$2 == var { print $0 }' file.txt
 
 ??? example "Click to show the solution without redundancy"  
     ```bash
-    awk -F ';' '{print $2}' nat2021.csv | cut -d ';' -f 2 | sort -u 
+    awk -F ';' '{print $2}' nat2021.csv | sort -u 
     ```
 
 ??? example "Click to show the solution without redundancy and with count"  
     ```bash
-    awk -F ';' '{print $2}' nat2021.csv | cut -d ';' -f 2 | sort -u | wc -l
+    awk -F ';' '{print $2}' nat2021.csv | sort -u | wc -l
     # 36172 - this is the diversity of names in our file
     ```
 
-- 
GitLab