"Fossies" - the Fresh Open Source Software Archive

Member "tkscanfax1/doc/sysreport.sh" (22 Jul 2003, 687 Bytes) of package /linux/misc/old/tkscanfax-1.1.8.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 and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/bash
    2 
    3 cat /etc/*release
    4 uname -a
    5 echo $LANG
    6 
    7 # Having RPM system ?
    8 if which rpm &> /dev/null ; then
    9    for P in kernel glibc tcl tk ghostscript file netpbm netpbm-progs libgr-progs libpgr1-progs ImageMagick xloadimage kdegraphics \
   10   mpage a2ps efax mgetty-sendfax
   11   do
   12       rpm -q $P 2> /dev/null
   13   done
   14   rpm -qa | grep tetex
   15 fi
   16 
   17   for P in wish \
   18     efax sendpage faxspool \
   19     viewfax kfax ghfaxviewer xv display xloadimage \
   20     kterm rxvt xterm \
   21     platex latex pdvips dvips \
   22     a2ps mpage \
   23     galeon gnome-help-browser gnome-moz-remote konqueror lynx mozilla netscape nautilus  opera w3m w3m-term \
   24     lpr lp \
   25     gs file identify convert pgmtopbm
   26   do
   27     which $P 2> /dev/null
   28   done
   29     
   30