#!/bin/csh -f #+ # OSIRIS library of scripts # # NAME # sngroups - wrapper for osirisNgroups spec # # SYNOPSIS # sngroups [Groups] # # DESCRIPTION # sets or returns the current numreads # # If no arguments are given, the current value is displayed. # # Will reset itime to minimum if needed. # # ARGUMENTS # # Groups - number of reads # # OPTIONS # # EXAMPLES # (M)CDS-like => osirisNgroups spec 2 # # ENVIRONMENT VARIABLES # # FILES # # SERVERS & KEYWORDS # # SCRIPTS CALLED # # EXIT STATUS # 0 - normal exit, no error # 1 - script aborted by an interrupt # 2 - syncheck error # 3 - error parsing command line input # other errors... # # # # Modification History: # 2018jul10 - jlyke: Original #------------------------------------------------------ # Boiler plate for "-h" support for command autohelp. if ("$1" == "-h") then help $0 exit $status endif osirisNgroups spec $*