Changeset 77 for trunk/src/plogd.sh


Ignore:
Timestamp:
04/13/10 15:11:52 (14 years ago)
Author:
pinsard
Message:

indent shell scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plogd.sh

    r75 r77  
    6565system=$(uname) 
    6666case "${system}" in 
    67 AIX|IRIX64) 
    68   echo " www : no specific posix checking" 
    69 ;; 
    70 *) 
    71   set -o posix 
    72 ;; 
     67   AIX|IRIX64) 
     68      echo " www : no specific posix checking" 
     69   ;; 
     70   *) 
     71      set -o posix 
     72   ;; 
    7373esac 
    7474unset system 
     
    8080if [ "${1}" = "" ] 
    8181then 
    82  echo "${command} : eee : 1st parameter missing" >&2 
    83  exit 1 
     82   echo "${command} : eee : 1st parameter missing" >&2 
     83   exit 1 
    8484fi 
    8585# test if a2ps available 
     
    8989if [ ${status} -ne 0 ] 
    9090then 
    91  echo "${command} : eee : ${tool} unavailable" >&2 
    92  exit 4 
     91   echo "${command} : eee : ${tool} unavailable" >&2 
     92   exit 4 
    9393fi 
    9494unset tool 
     
    102102if [ ${tmp} -eq 0 ] 
    103103then 
    104  if [ "${log}" = "" ] 
    105  then 
    106   echo "${command} : eee : no release of ${IRCAAM_LOG}/${1}.log" >&2 
    107   exit 1 
    108  else 
    109   # printing 
    110   a2ps --print-anyway=1 ${log} 
    111   exit 0 
    112  fi 
     104   if [ "${log}" = "" ] 
     105   then 
     106      echo "${command} : eee : no release of ${IRCAAM_LOG}/${1}.log" >&2 
     107      exit 1 
     108   else 
     109      # printing 
     110      a2ps --print-anyway=1 ${log} 
     111      exit 0 
     112   fi 
    113113else 
    114  exit 1 
     114   exit 1 
    115115fi 
Note: See TracChangeset for help on using the changeset viewer.