Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkobor authored May 31, 2020
1 parent 40c7ad7 commit 57603b8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ RiP (Replace in Place) is a Quick Action for MacOS, and provides a very basic "S

1. Download *RiP.workflow.zip*, and unzip it
2. Double click and install RiP.workflow
3. (Optional) Add it to your touchbar's quick actions, to be able to use it quickly
3. (Optional) Add it to your touch bar's quick actions: *System Preferences -> Extensions -> Touch Bar*
4. (Optional) Assign a keyboard shortcut to the service: *System Preferences -> Keyboard -> Shortcuts -> Services -> RiP*

## How to use?

Expand All @@ -18,7 +19,8 @@ Select the text you want to search in, and start the action by choosing it in yo
This is a quite basic Automator workflow, which is basically just a wrapper around the standard `sed` command:

```bash
echo $1 | sed -E 's/'"$2"'/'"$3"'/g'
OUTPUT=$(sed -E 's/'"$2"'/'"$3"'/g' <<< "$1")
echo "$OUTPUT"
```

**Where**:
Expand Down

0 comments on commit 57603b8

Please sign in to comment.