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.
26 lines
964 B
26 lines
964 B
4 years ago
|
By default, grep matches the given string/pattern if it found as a substring in a file.
|
||
|
|
||
|
- You can display the lines that are not matched with the specified search sting pattern using the *-v* option.
|
||
|
|
||
|
- The *-w* option to grep makes it match only the whole words.
|
||
|
|
||
|
- We can make the grep to display only the matched string by using the *-o* option.
|
||
|
|
||
|
- The *^* regular expression pattern specifies the start of a line. This can be used in grep to match the lines which start with the given string or pattern.
|
||
|
|
||
|
[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
|
||
|
|
||
|
====
|
||
|
|