#!/bin/bash echo -e "foo\nbar\nbaz\nq" | exec rebol -q $(dirname $0)/test.r "${@}"