parsec -- parse the contents of an image section string
An image section in standard IRAF notation
The number of dimensions in the section. If this returns < 0 then
the input string was not parseable as a section.
An array of up to 7 integers giving the start pixel in each dimension
An array of up to 7 integers giving the end pixel in each dimension
This task dissects a string containing an IRAF image section into its
component integers. It is a helper to the lickbase script.
This will bomb badly if given input like [1:2,3,4:5] or if there are any
wildcards such as [1:2,*,4:5].
Steve Allen <email@example.com>