all repos — h3rald @ 6b243ded05a7593922d198634c681075de1c12e2

The sources of https://h3rald.com

contents/fae.md

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
-----
id: fae
github: fae
home: /fae/
title: "fae 🧚"
subtitle: "Find and Edit Utility"
summary: "A minuscule utility to find and edit text in files." 
content-type: project
active: true
version: 1.1.0
ci: true
download: "https://github.com/h3rald/fae/releases/download/"
-----

### Usage


**fae** _pattern_  **[** _replacement_ _\-\-option1_ _\-\-option2_ ... **]**

Where:

* _pattern_ is a regular expression to search for.
* _replacement_ is an optional replacement stringv use \1, \2, etc. to reference captured groups).

#### Options

* **-a**, **\-\-apply** — Substitute all occurrences of *pattern* with *replacement* in all files without asking for confirmation.
* **-d**, **\-\-directory** — Search in the specified directory (default: .)
* **-f**, **\-\-filter** — Specify a regular expression to filter file paths.
* **-h**, **\-\-help** — Display this message.
* **-i**, **\-\-insensitive** — Case-insensitive matching.
* **-r**, **\-\-recursive** — Search directories recursively.
* **-s**, **\-\-silent** — Do not display matches.
* **-t**, **\-\-test** — Do not perform substitutions, just print results.
* **-v**, **\-\-version** — Display the program version.

### Downloads

* [macOS (x64)]({{$download}}v{{$version}}/{{$github}}_v{{$version}}_macosx_x64.zip)
* [Linux (x64)]({{$download}}v{{$version}}/{{$github}}_v{{$version}}_linux_x64.zip)
* [Windows (x64)]({{$download}}v{{$version}}/{{$github}}_v{{$version}}_windows_x64.zip)