Bash Postfix Algorithm
Readme Download Zip View Replit Select & Copy

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.

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.