Skip to content

Commit

Permalink
Update link to regex lesson
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitlinnewson authored Oct 4, 2021
1 parent 7372ebd commit 5ed4ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion episodes/06-free-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ $ sed -e 's/<[^>]*>//g' diary-noheadfoot.txt > diary-notags.txt
~~~
{: .bash}
Here we are using a regular expression (see the [Library Carpentry regular expression lesson]({{ page.root }}/lc-data-intro/04-regular-expressions/) to find all valid html tags (anything within angle brackets) and delete them. This is a complex regular expression, so don't worry too much about how it works! The script also requires the use of both the output redirect `>` we have seen and the input redirect `<` we haven't seen.
Here we are using a regular expression (see the [Library Carpentry regular expression lesson](https://librarycarpentry.org/lc-data-intro/01-regular-expressions/) to find all valid html tags (anything within angle brackets) and delete them). This is a complex regular expression, so don't worry too much about how it works! The script also requires the use of both the output redirect `>` we have seen and the input redirect `<` we haven't seen.
We're going to start by using the `tr` command, used for translating or
deleting characters. Type and run:
Expand Down

0 comments on commit 5ed4ca3

Please sign in to comment.