#!/bin/sh if [ ! -d "bin" ]; then sh compile.sh fi if [ -f "$1" ]; then cat "$1" | ./bin/BFBCompiler else echo "$1" | ./bin/BFBCompiler fi