#!/bin/csh
#
#
# \author mdejong
#
#--------------------------------------------------------------------------------------
#
#                   Utility script for batch queue functions.
#
#--------------------------------------------------------------------------------------


#
# Put command(s) in given queue; do not submit job.
#
# \param   1         queue name
# \param   2-N       command(s)
#
alias put_queue 'eval echo -n "\!:2*;" >>! \!:1'


#
# Put command(s) in given queue and submit job.
#
# \param   1         queue name
# \param   2-N       command(s)
#
alias puts_queue 'eval echo "\!:2*" >>! \!:1'
