"Fossies" - the Fresh Open Source Software Archive

Member "SAOImageDS9/funtools/faq/tdisp" (13 Nov 2019, 266 Bytes) of package /linux/misc/ds9.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 
    3 if [ ! -r foo.fits ]; then
    4   ln -s $HOME/data/snr.ev foo.fits
    5 fi
    6 
    7 FUN_FORMAT='x=%4d y=%4d pha=%3d pi=%3d dx=%4d dy=%4d'
    8 export FUN_FORMAT
    9 
   10 echo fundisp foo.fits"'[$1]'" | tee foo.log
   11 echo " " | tee -a foo.log
   12 ../fundisp foo.fits"[$1]" | tee -a foo.log
   13 
   14 
   15