Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaz-utashiro/optex-rpn
Reverse Polish Notation calculation module for App::optex
https://github.com/kaz-utashiro/optex-rpn
Last synced: 8 days ago
JSON representation
Reverse Polish Notation calculation module for App::optex
- Host: GitHub
- URL: https://github.com/kaz-utashiro/optex-rpn
- Owner: kaz-utashiro
- License: other
- Created: 2021-11-14T02:45:04.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-27T10:43:12.000Z (over 2 years ago)
- Last Synced: 2024-11-08T07:17:15.802Z (2 months ago)
- Language: Perl
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
# NAME
rpn - Reverse Polish Notation calculation
# SYNOPSIS
optex -Mrpn command ...
# VERSION
Version 1.01
# DESCRIPTION
**rpn** is a filter module for **optex** command to detect arguments
which look like Reverse Polish Notation (RPN), and replace them by the
result of calculation.See [Math::RPN](https://metacpan.org/pod/Math%3A%3ARPN) for Reverse Polish Notation detail.
Since RPN part requires two terms at least,
optex -Mrpn echo RAND
print just "RAND". Use something like `RAND,0+` to get random
number.# EXAMPLE
Prevent macOS to suspend for 5 hours.
$ optex -Mrpn caffeinate -d -t 3600,5*
# INSTALL
## CPANMINUS
cpanm App::optex::rpn
# SEE ALSO
[App::optex](https://metacpan.org/pod/App%3A%3Aoptex), [https://github.com/kaz-utashiro/optex](https://github.com/kaz-utashiro/optex)
[App::optex::rpn](https://metacpan.org/pod/App%3A%3Aoptex%3A%3Arpn), [https://github.com/kaz-utashiro/optex-rpn](https://github.com/kaz-utashiro/optex-rpn)
[https://qiita.com/kaz-utashiro/items/2df8c7fbd2fcb880cee6](https://qiita.com/kaz-utashiro/items/2df8c7fbd2fcb880cee6)
[Math::RPN](https://metacpan.org/pod/Math%3A%3ARPN)
# AUTHOR
Kazumasa Utashiro
# LICENSE
Copyright 2021 Kazumasa Utashiro.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.