https://github.com/vladmrnv/statify
:zap: A ZSH Plugin that does basic math and eventually basic statistics
https://github.com/vladmrnv/statify
Last synced: about 18 hours ago
JSON representation
:zap: A ZSH Plugin that does basic math and eventually basic statistics
- Host: GitHub
- URL: https://github.com/vladmrnv/statify
- Owner: vladmrnv
- License: mit
- Created: 2016-01-20T06:51:16.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-28T04:31:41.000Z (almost 10 years ago)
- Last Synced: 2024-04-16T03:06:28.404Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zsh-plugins - statify - Plugin that does basic statistical analysis. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - statify - Plugin that does basic statistical analysis. (Plugins / ZSH on Windows)
- awesome-zsh-plugins - statify - Plugin that does basic statistical analysis. (Plugins / Zinit (née zplugin))
README
# statify
a ZSH Plugin that does basic statistical analysis
> $ calc 2 + 1 = 3
> $ calc 2 - 1 = 1
> $ calc 5 / 2 = 2.500'
> $ calc 4 % 2 = 2
> $ calc "5 * 10" = 50 (You need the " " because * is the wildcard in UNIX )
> Essentially anything that 'bc' can do, so can you, however it must be like
> the example above, surrounded in " ",
> ex: $ calc "sqrt(16)"
>>> 4
> $ median 5 7 3 4 9
>>> 5