$ cat out

if [ $ -eq 0 ]
then

echo ": out [-v] _..." 1>&2
exit 1
fi

if [ "$1" = "-v" ]
then

shift
less  "$@"
else                             *

cat  "$@"                                                              '
fi

 

  out  --  cat  less  ,    
  ,     (-)       -
 .  ,  --     , -
  .  ,   , ,    , -
. (        cat > -fname.)  --
    Linux,       
bash  getopts.       Linux (  more).
      rm   ,   
  (rm -- -fname),      ,     -
   --.

if...then...elif

   if...then...elif,   . 28.3, 
 :

if -
then


elif -
then



else


fi

 elif    else  if   
  if...then...else (. 28.3).    else 
elif   ,     else     -
 fi,     elif    
 fi.

     if...then...elif.  -
      .   if
    test   (-).

872                                                  VI. 