    ifs    , 
       .  -eq  test -
   .          -
 :

$ cat chlcargs

if test $# -eq 
then

echo "    ."

exit 1
fi

echo " ."
$ chkaxgs

    .
$ chkargs abc
 .

,     chkargs,   -
  ,  .     
    ,   -
,     .    
  (  chkargs).     
   .

   test       -
    .  ,    
    ,   ,   -
    (      )   -
.   test   -f      ($1)
 :

$ cat is regfile

if test $# -eq 0
then

echo "    ."
exit I
fi

if test -f "$1"
then

echo "$1 -     "
else

echo "$1 -      "
fi

   test        -
 .     . 28.1.

  test      
, ,      ,  .  
 .      ,    man- -
 test. ( test   , ,   man-
,  .)

 28.   Bourne Again Shell                                869