Skip to content

Commit

Permalink
repetitive part
Browse files Browse the repository at this point in the history
  • Loading branch information
victorhck committed Nov 8, 2021
1 parent 9fa4944 commit 88c2ae7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch14_external_commands.md
Expand Up @@ -137,7 +137,7 @@ hello vim

The breakdown:
- `.!` executes the filter command on the current line.
- `!tr '[:lower:]' '[:upper:]'` calls the `tr` command to replace all lowercase characters with uppercase ones.
- `tr '[:lower:]' '[:upper:]'` calls the `tr` command to replace all lowercase characters with uppercase ones.

It is imperative to pass a range to run the external command as a filter. If you try running the command above without the `.` (`:!tr '[:lower:]' '[:upper:]'`), you will see an error.

Expand Down

0 comments on commit 88c2ae7

Please sign in to comment.