#!/bin/sh echo "set args $1 $2" > .cli.gdb echo "run" >>.cli.gdb gdb @prefix@/bin/gretlcli -x .cli.gdb