sh in sh but better
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nicole P. Lastname efb13769b8 added sh-libarray and sh-libdict as submods and folder locations 2 months ago
com@17970dcb75 update mods 2 months ago
math@e8124ffad9 implement psh-fractional 6 months ago
mwrap@a33f9becaf implement psh-fractional 6 months ago
ran@e2cb4cf198 update mods 2 months ago
sh-libarray@f8a41184bb added "/usr/local/etc" as a possible location for "shsh.conf" 2 months ago
sh-libdict@d9f569e85d added sh-libarray and sh-libdict as submods and folder locations 2 months ago
.gitignore implement psh-fractional 6 months ago
.gitmodules added sh-libarray and sh-libdict as submods and folder locations 2 months ago
LICENSE Initial commit 7 months ago
README updated README to include examples of how to actually use shsh 2 months ago
example implement psh-fractional 6 months ago
shsh added sh-libarray and sh-libdict as submods and folder locations 2 months ago

README

---
shsh
-- sh in sh but better
-- (sh+)
-- (a compiler for sh in sh)
---
Added Features
-- float math via psh-fractional
---- WIP
---- not yet implemented
---- will use RPN
-- test flags to compare floats
---- 100% working
---- implemented
-- $RANDOM in pure sh
---- 100% working
---- not yet implemented
---- will make use of $!/PID over /dev/urandom
---
What? Why?
-- shsh aims to simply upgrade the wheel, implementing psh-fractional & psh-fc
-- directly into the lang to prevent headaches from dealing with submods
-- this should create POSIX sh with float support!
---- using /ONLY/ pure sh
---
Syntax
-- shsh doesn't run independently, it's a text processing tool
-- it reads STDIN and outputs the 'compiled' shell script to STDOUT
-- Examples:
- cat foo.shsh | shsh > bar.sh
- cat foo.shsh | shsh | sh
---