-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |