diff --git a/cut/1_Cutting_Column/codeanswer b/cut/1_Cutting_Column/codeanswer index 4169906..31347ea 100644 --- a/cut/1_Cutting_Column/codeanswer +++ b/cut/1_Cutting_Column/codeanswer @@ -1 +1 @@ -grep "Jordan" $LLO_DATAFILE | cut -c 8- | head -5 +grep "Jordan" $LLO_DATAFILE | cut -c -8 | head -5 diff --git a/cut/1_Cutting_Column/codehelp b/cut/1_Cutting_Column/codehelp index c509f59..62cb0e8 100644 --- a/cut/1_Cutting_Column/codehelp +++ b/cut/1_Cutting_Column/codehelp @@ -1,2 +1,2 @@ --b It uses a special form: selecting bytes upto the end of the line +position is specified and the ending position is omitted. diff --git a/cut/1_Cutting_Column/q-info b/cut/1_Cutting_Column/q-info index 0b8a085..97dbc42 100644 --- a/cut/1_Cutting_Column/q-info +++ b/cut/1_Cutting_Column/q-info @@ -3,7 +3,7 @@ Try to run [source,sh] ---- -cut -c 3- $LLO_DATAFILE | head -5 +cut -c -3 $LLO_DATAFILE | head -5 ---- and see the Results!