pkg(MATL-22.5.0): added MATL 22.5.0

This commit is contained in:
Hydrazer 2021-12-30 11:12:20 -07:00
parent 20e71f617b
commit 021ec1aa94
6 changed files with 34 additions and 0 deletions

13
packages/MATL/22.5.0/run vendored Normal file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
# get file as first argument
file="$1"
# remove the file from $@
shift
# use the rest of the arguments as stdin
stdin=`printf "%s\n" "$@"`
# pass stdin into octave which will run MATL
echo "$stdin" | octave -W -p "$MATL_PATH" --eval "matl -of '$file'"