2 ms·
Parse `man` and `help` pages to get descriptions for options: https://github.com/learnbyexample/command_help https://github.com/learnbyexample/command_help
by asicsp 4y ago
Parse `man` and `help` pages to get descriptions for options: https://github.com/learnbyexample/command_help https://github.com/learnbyexample/command_help
$ ch ls -vx
ls - list directory contents
-v natural sort of (version) numbers within text
-x list entries by lines instead of by columns
Script to provide `cut`-like syntax for a few `awk` features: https://github.com/learnbyexample/regexp-cut https://github.com/learnbyexample/regexp-cut
$ echo ' one two three' | rcut -f2
two
$ echo 'sample42string123with777numbers89' | rcut -d'[0-9]+' -f3
with