You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
763 B

*-f(field):* To extract the specific field.
*-c* option is useful for fixed-length lines.
Most files doesn’t have fixed-length lines.
To extract information you need to cut by fields.
List of the fields must be separated by -d option.
[source,bash]
----
cut -d',' -f5 $LLO_DATAFILE | head -5
----
[INFO]
====
DATAFILE
The datafile contains aggregate individual statistics for 67 NBA seasons. from basic box-score attributes such as points, assists, rebounds etc., to more advanced money-ball like features such as Value Over Replacement.
Take a look in
link:https://git.swarmlab.io:3000/llo/LabLearningObject/src/branch/master/data/nba_statistics_glossary[Glossary^]
for a detailed column description
ENVIRONMENT VARIABLE: LLO_DATAFILE
====