TABLE OF CONTENTS
::pwtk::queue::fprint
SYNOPSIS
proc ::pwtk::queue::fprint {queueSystem {file ""}} {
PURPOSE
Write the content of the batch shell script for the queueSystem to file or stdout.
ARGUMENTS
- queueSystem -- name of batch-queuing system (e.g. slurm, ll, lsf, ...)
- file -- (optional) filename to print to; if not specified, stdout is used
SOURCE
if { $file eq {} } { puts [get $queueSystem] } else { ::pwtk::writeFile $file [get $queueSystem] } }