Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
Phydon committed Sep 12, 2023
1 parent 344dcbd commit 22e7114
Showing 1 changed file with 60 additions and 1 deletion.
61 changes: 60 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,62 @@
# map

**MA**nipulate **P**ipe
**MA**nipulate **P**ipe

*change pipe input via regex or as literal string*

a better version of this program is ![sd](https://github.com/chmln/sd)

## Usage

### Short Usage

```
Usage: map [OPTIONS] [OLD_PATTERN] [NEW_PATTERN] [COMMAND]
Commands:
log, -L, --log Show content of the log file
help Print this message or the help of the given subcommand(s)
Arguments:
[OLD_PATTERN] [NEW_PATTERN] Replace a pattern with a new one
Options:
-n, --num <NUMBER> Replaces first N matches of a pattern with another string
-s, --string Treat the pattern as a literal string
-h, --help Print help (see more with '--help')
-V, --version Print version
```

### Long Usage

```
Usage: map [OPTIONS] [OLD_PATTERN] [NEW_PATTERN] [COMMAND]
Commands:
log, -L, --log Show content of the log file
help Print this message or the help of the given subcommand(s)
Arguments:
[OLD_PATTERN] [NEW_PATTERN]
Replace a pattern with a new one
Options:
-n, --num <NUMBER>
Replaces first N matches of a pattern with another string
-s, --string
Treat the pattern as a literal string
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version
```


## Installation

### Windows

via Cargo or get the ![binary](https://github.com/Phydon/map/releases)

0 comments on commit 22e7114

Please sign in to comment.