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
# core utilities
Tools for everyday living.
## Specification
Executable |Description |Extra Dependencies
:---------------|:-------------------------------------------------------------|:-----------------
ctdir |Count entries in a target directory(ies)
debom |Remove BOM from a target file |`bash`
enumerate |Rename files in current directory into sequential numbers |`bash`
mkbak |Create a backup of a target file |`bash`
rand |Get a random number within an inclusive range |`bash`, `shuf`
rebom |Add BOM to a target file
rmold |Delete old files
start-at |After a pattern is matched, re-print |GNU or New (AT&T) `awk`
stop-at |Re-print until a pattern is matched |GNU or New (AT&T) `awk`
unittest |Wrapper around Python's `unittest` module |`python3`, GNU or New (AT&T) `awk`
vimsplit |Open two files in split windows |`nvim`
whichcat |Print all lines from a program
whiched |Open a program with your editor
whichhead |Print the first 10 lines from a program |`bash`
whichvi |Open a program with your visual editor
wttr |Wrapper around `wttr` to fix double-wide runes for some fonts |`wego`
*All* scripts support `-h` and `--help` for printing built-in documentation.
## To-Do