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.
62 lines
1.0 KiB
62 lines
1.0 KiB
The cat command also allows
|
|
|
|
- Display tab characters as ^I
|
|
|
|
[source,bash]
|
|
----
|
|
display tab characters as ^I
|
|
----
|
|
|
|
For example:
|
|
|
|
[source,bash]
|
|
----
|
|
cat -T $LLO_DATAFILE | head -9
|
|
----
|
|
|
|
|
|
- Display non printing characters
|
|
|
|
For example:
|
|
|
|
[source,bash]
|
|
----
|
|
cat -v $LLO_DATAFILE | head -9
|
|
----
|
|
|
|
- Suppress repeated empty lines
|
|
|
|
For example:
|
|
|
|
[source,bash]
|
|
----
|
|
cat -s $LLO_DATAFILE | head -9
|
|
----
|
|
|
|
[INFO]
|
|
====
|
|
In case, you need to use the -v, -E and -T option together, you can just use the -A command line option.
|
|
====
|
|
|
|
For example:
|
|
|
|
[source,bash]
|
|
----
|
|
cat -A $LLO_DATAFILE | head -9
|
|
----
|
|
|
|
[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
|
|
|
|
====
|
|
|
|
|