Purpose
Seeks the newest BLUE image in the current output
directory, and returns its full disk name.
Usage
lastimageb [-tail]
Arguments
-tail = print only the tail of the filename
Output
The full or tail of the disk name is echoed to stdout
Exit values
0 = normal exit
1 = no images found
-1 = output directory not found
Example
1) Return the full name of the latest blue image
lastimageb
returns
/s/sdata222/lris1/16nov2000/lblue0113.fits
2) Return the tail of the latest blue image
lastimageb -tail
returns
lblue0113.fits
3) Return the full name of the latest 3 blue images
lastimager -n 3
returns
/s/sdata222/lris1/16nov2000/lblue0111.fits
/s/sdata222/lris1/16nov2000/lblue0112.fits
/s/sdata222/lris1/16nov2000/lblue0113.fits