Contains my own collection of command-line tools that I personally like.
|
|
||
|---|---|---|
| B64 | More stuff | |
| Base | More stuff | |
| Cal | More stuff | |
| CmdTools | Updates | |
| Nums | More stuff | |
| RClip | More stuff | |
| Re | More stuff | |
| Rn | Updates | |
| WClip | More stuff | |
| .editorconfig | More stuff | |
| .gitignore | Version 1 with: base, cal, nums, rclip, re, wclip | |
| CmdTools.sln | More stuff | |
| Directory.Build.props | Version 1 with: base, cal, nums, rclip, re, wclip | |
| README.md | Updates | |
Command Line Tools
Contains my own collection of command-line tools that I personally like.
- B64: Converts data to base64.
- Base: Converts numbers between numerical bases (e.g. decimal to hexadecimal).
- Cal: Calculates an expression.
- Nums: Replaces all occurrences of numbers in an input with the result of a calculation (e.g. double all numbers).
- Re: Performs regular expression search or replace on an input.
- Rn: Renames files according to a regular expression pattern or string interpolation.
Clipboard integration
All tools listed above take a -c option to take input from the clipboard and write output to the clipboard instead of using stdin/stdout. Alternatively, if only one of these options is desired, use one of these:
- c→: Reads from the clipboard and outputs to stdout.
- →c: Reads from stdin and writes to the clipboard.
Example: echo [1, 2, 3] | nums 2*x | →c will write the text [2, 4, 6] to the clipboard.