diff --git a/grep/2_Displaying_matched_pattern/code b/grep/2_Displaying_matched_pattern/code index 39ba414..6753fb0 100644 --- a/grep/2_Displaying_matched_pattern/code +++ b/grep/2_Displaying_matched_pattern/code @@ -1,5 +1,5 @@ echo "Inverting the pattern match" -grep -v "Jordan" $LLO_DATAFILE | head 5 +grep -v "Jordan" $LLO_DATAFILE | head -5 echo "Matching the lines that start with a string" grep -n "^Mi" $LLO_DATAFILE | tail -5 diff --git a/index_grep.yml b/index_grep.yml index dc856fa..3dbfc33 100644 --- a/index_grep.yml +++ b/index_grep.yml @@ -69,6 +69,6 @@ codehelp: "2_Displaying_matched_pattern/codehelp" codeanswer: "2_Displaying_matched_pattern/codeanswer" mimetype: "bash" - points: "" # ELO + points: "1" # ELO output: log: "bash"