mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-10-09 14:31:13 +00:00
Medium syndication information
This commit is contained in:
parent
e5a96d735a
commit
c5ff5538a6
276 changed files with 371 additions and 80 deletions
|
@ -1,9 +1,11 @@
|
|||
---
|
||||
title: "Capturing Quoted Strings in Sed"
|
||||
date: 2022-12-18T12:55:32-05:00
|
||||
date: 2022-12-18 12:55:32-05:00
|
||||
draft: false
|
||||
tags: []
|
||||
math: false
|
||||
medium_enabled: true
|
||||
medium_post_id: 9801b2556737
|
||||
tags: []
|
||||
title: Capturing Quoted Strings in Sed
|
||||
---
|
||||
|
||||
*Disclaimer: This posts assumes some knowledge about regular expressions.*
|
||||
|
@ -61,5 +63,4 @@ REPLACE_EXPR="s/$BEFORE_TEXT/$AFTER_TEXT/g"
|
|||
INPUT="\<a href=\"https://brandonrozek.com\" rel=\"me\"\>\</a\>"
|
||||
|
||||
echo "$INPUT" | sed "$REPLACE_EXPR"
|
||||
```
|
||||
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue