Tomi Manninen wrote:
> 
> Nice idea! I would however suggest some refinements to the script.
> Remember that this is just an additional idea, something for people to
> chew on. The original scripts are quite ok as is.
> 
> Anyway, make an executable script named "sccutils" that has something like
> this in it (untested!):
> 
> -------------- clip ---------------------
> #!/bin/sh
> CMDNAME=`basename $0`
> case `uname -r` in
>         2.0.*)  CMDVERSION=2.4c ;;
>         2.2.*)  CMDVERSION=3.0  ;;
>         *)      echo "sccutils: unsupported kernel version" ; exit 1 ;;
> esac
> ${CMDNAME}-${CMDVERSION} $*
> -------------- clip ---------------------
> 
> And then make sccinit, sccparam and sccstat symbolic links to the sccutils
> script:
> 
> ln -s sccutils sccinit
> ln -s sccutils sccparam
> ln -s sccutils sccstat
> 

Oohh... I like this one even better.
I also learned something. I didn't know that I could pass on more than
one commandline option with $*

73, Arno

Reply via email to