Bash Postfix Algorithm
Readme Download Replit Sel. & Copy Full

About

An implementation of a postfix algorithm in bash.

To view this on TripleLog, click here.

Run Script

chmod 777 postfix.sh ./postfix.sh "3+14*5"

Bash

If you are not familiar with bash, then you can try to edit the algorithm and see what happens.

FYI: There are some weird issues with spaces and tabs.

The output will be one element in each line. The infix array will be outputted first, followed by a blank line. Then the postfix array will be displayed.

You probably want to do something different.