4:01 AM
@Dennis I was just looking at the source code for TIO, and I noticed that the befunge wrapper has the arguments being inserted after the filename, but they really need to come first. Otherwise what happens is that the last argument is actually interpreted as the filename, which obviously isn't going to work.
I also see that you're using tail
to suppress the interpreter's banner output. It would probably be easier to use the -q option for that instead. Although I should point out that that will also suppresses any warning messages, but that's a good thing in my opinion.
In short, I'd recommend changing the command like to something like: /opt/befunge/bin/bef -q "$@" .code.tio < .input.tio