Links and footnotes
Follow links and cross-references, and read footnotes
Links are underlined. Cross-references to chapters, sections, figures, and tables open in tomes; links to websites open in your browser.
| Key | What |
|---|---|
Enter |
Follow the link on the cursor line (labels when there are several) |
f |
Labels for every link on the screen: type one to follow it |
F |
The same, to copy the link’s address |
Tab Shift-Tab |
Select the next, previous link (Enter follows it) |
K |
Show the footnote or cross-reference in a popup |
Ctrl-o |
Back to where you were |
gx |
Open this section of the book in the browser |
In terminals that support it (most do), links are also clickable with Cmd-click or Ctrl-click.
Footnotes are listed at the end of each chapter, as on the website, and K shows one right where you’re reading. Here in Data Science at the Command Line, which has its references in footnotes:
tomes https://dsatcl.jeroenjanssens.com/ -c 5
Data Science at the Command Li… │ ┃
Welcome │ 5 Scrubbing Data │
Foreword │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ │
Preface │ │
1 Introduction │ Two chapters ago, in the first step of the OSEMN model for data science, │
2 Getting Started │ we looked at obtaining data from a variety of sources. This chapter is │
3 Obtaining Data │ all about the second step: scrubbing data. You see, it’s quite rare that │
4 Creating Command-line Tools │ you can immediately continue with exploring or even modeling the data. │
▸5 Scrubbing Data │ There’s a plethora of reasons why your data first needs some cleaning, │
5.1 Overview │ or scrubbing. │
5.2 Transformations, Transf… │ │
5.3 Plain Text │ For starters, the data might not be in the desired format. For example, │
5.3.1 Filtering Lines │ you may have obtained some JSON data from an API, but you need it to be │
5.3.2 Extracting Values │ in CSV format to create a visualization. Other common formats include │
5.3.3 Replacing and Delet… │ plain text, HTML, and XML. Most command-line tools only work with one or │
5.4 CSV │ two formats, so it’s important that you’re able to convert data from one │
5.4.1 Bodies and Headers … │ format to another. │
5.4.2 Performing SQL Quer… │ │
5.4.3 Extracting and Reor… │ Once the data is in the desired format, there could still be issues like │
5.4.4 Filtering Rows │ missing values, inconsistencies, weird characters, or unnecessary parts. │
5.4.5 Merging Columns │ You can fix these by applying filters, replacing values, and combining │
5.4.6 Combining Multiple … │ multiple files. The command line is especially well-suited for these │
5.5 Working with XML/HTML a… │ kind of transformations, because there are many specialized tools │
5.6 Summary │ available, most of which can handle large amounts of data. In this │
5.7 For Further Exploration │ chapter I’ll discuss classic tools such as grep¹ and awk², and newer │
6 Project Management with Ma… │ tools such as jq³ and pup⁴. │
7 Exploring Data │ │
8 Parallel Pipelines │ Sometimes you can use the same command-line tool to perform several │
9 Modeling Data │ operations or multiple tools to perform the same operation. This chapter │
5 Scrubbing Data ▶ terminal term 8/16 Top
Data Science at the Command Li… │ ┃
Welcome │ 5 Scrubbing Data │
Foreword │ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ │
Preface │ │
1 Introduction │ Two chapters ago, in the first step of the OSEMN model for data science, │
2 Getting Started │ we looked at obtaining data from a variety of sources. This chapter is │
3 Obtaining Data │ all about the second step: scrubbing data. You see, it’s quite rare that │
4 Creating Command-line Tools │ you can immediately continue with exploring or even modeling the data. │
▸5 Scrubbing Data │ There’s a plethora of reasons why your data first needs some cleaning, │
5.1 Overview │ or scrubbing. │
5.2 Transformations, Transf… │ │
5.3 Plain Text │ For starters, the data might not be in the desired format. For example, │
5.3.1 Filtering Lines │ you may have obtained some JSON data from an API, but you need it to be │
5.3.2 Extracting Values │ in CSV format to create a visualization. Other common formats include │
5.3.3 Replacing and Delet… │ plain text, HTML, and XML. Most command-line tools only work with one or │
5.4 CSV │ two formats, so it’s important that you’re able to convert data from one │
5.4.1 Bodies and Headers … │ format to another. │
5.4.2 Performing SQL Quer… │ │
5.4.3 Extracting and Reor… │ Once the data is in the desired format, there could still be issues like │
5.4.4 Filtering Rows │ missing values, inconsistencies, weird characters, or unnecessary parts. │
5.4.5 Merging Columns │ You can fix these by applying filters, replacing values, and combining │
5.4.6 Combining Multiple … │ multiple files. The command line is especially well-suited for these │
5.5 Working with XML/HTML a… │ kind of transformations, because there are many specialized tools │
5.6 Summary │ available, most of which can handle large amounts of data. In this │
5.7 For Further Exploration │ chapter I’ll discuss classic tools such as grep¹ and awk², and newer │
6 Project Management with Ma… │ ╭ Footnote 1 ─────────────────────────────────────────────────────────╮ │
7 Exploring Data │ │ Jim Meyering, grep – Print Lines That Match Patterns, version 3.12, │ │
8 Parallel Pipelines │ │ 2025, https://www.gnu.org/software/grep. │ │
9 Modeling Data │ ╰───────────────────────────── Enter: go there · y: copy · Esc: close ╯r │
1/2 /classic tools (2) ▶ terminal term 8/16 Top
Enter in the popup goes to the footnote, Esc closes it.