#!/bin/bash echo -e "foo\nbar\nbaz" | exec emacs -Q --batch -L $(dirname $0) --load $(dirname $0)/test.el "${@}"